diff --git a/src/ClassDiagram/Concept/Concept.php b/src/ClassDiagram/Concept/Concept.php index 78e850b..aafe6fb 100644 --- a/src/ClassDiagram/Concept/Concept.php +++ b/src/ClassDiagram/Concept/Concept.php @@ -84,6 +84,21 @@ public function getId(): string return $this->identifier; } + public function addAttribute(Attribute $attribute): void + { + $this->attributes[] = $attribute; + } + + public function addMethod(Method $method): void + { + $this->methods[] = $method; + } + + public function setAnnotation(string $annotation): void + { + $this->annotation = $annotation; + } + public static function isSafeMode(): bool { return self::$safeMode;