diff --git a/application/src/Entity/AbstractSource.php b/application/src/Entity/AbstractSource.php index 67b6a42..c417aba 100644 --- a/application/src/Entity/AbstractSource.php +++ b/application/src/Entity/AbstractSource.php @@ -1,18 +1,17 @@ id = $id; + } + + public function getId(): int + { + return $this->id; + } +} + diff --git a/application/src/Entity/attribut/IdAttributInterface.php b/application/src/Entity/attribut/IdAttributInterface.php new file mode 100644 index 0000000..93beeb1 --- /dev/null +++ b/application/src/Entity/attribut/IdAttributInterface.php @@ -0,0 +1,15 @@ +node = $node; + } + + public function getNode(): NodeInterface + { + return $this->node; + } + +} + diff --git a/application/src/Entity/attribut/NodeAttributInterface.php b/application/src/Entity/attribut/NodeAttributInterface.php new file mode 100644 index 0000000..cfa1731 --- /dev/null +++ b/application/src/Entity/attribut/NodeAttributInterface.php @@ -0,0 +1,17 @@ +source; + } + + public function setSource(SourceInterface $source):void{ + $this->source = $source; + } +} + diff --git a/application/src/Entity/attribut/SourceAttributInterface.php b/application/src/Entity/attribut/SourceAttributInterface.php new file mode 100644 index 0000000..25a6eca --- /dev/null +++ b/application/src/Entity/attribut/SourceAttributInterface.php @@ -0,0 +1,17 @@ +