diff --git a/application/src/Creator/Modificator/Entity/LawModificator.php b/application/src/Creator/Modificator/Entity/LawModificator.php index 597a8b8..573ca79 100644 --- a/application/src/Creator/Modificator/Entity/LawModificator.php +++ b/application/src/Creator/Modificator/Entity/LawModificator.php @@ -4,12 +4,12 @@ namespace App\Creator\Modificator\Entity; use App\DBAL\Types\LayerType; use App\DBAL\Types\RightType; -use App\Entity\NodeInterface; +use App\Entity\Interfaces\NodeInterface; use App\Entity\Right; -use App\Entity\LawInterface; +use App\Entity\Interfaces\LawInterface; use App\DBAL\Types\RecieverType; -use App\Entity\RightInterface; -use App\Entity\RecieverGroupInterface; +use App\Entity\Interfaces\RightInterface; +use App\Entity\Interfaces\RecieverGroupInterface; use App\Entity\RecieverGroup; /** diff --git a/application/src/Entity/AbstractSource.php b/application/src/Entity/AbstractSource.php index fe4c460..05f713e 100644 --- a/application/src/Entity/AbstractSource.php +++ b/application/src/Entity/AbstractSource.php @@ -5,6 +5,8 @@ namespace App\Entity; use App\Entity\Attribut\NodeAttribut; use Doctrine\ORM\Mapping as ORM; use JMS\Serializer\Annotation\Exclude; +use App\Entity\Interfaces\SourceInterface; +use App\Entity\Interfaces\NodeInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/ChildsAttribut.php b/application/src/Entity/Attribut/ChildsAttribut.php index 770f907..05c169a 100644 --- a/application/src/Entity/Attribut/ChildsAttribut.php +++ b/application/src/Entity/Attribut/ChildsAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\NodeInterface; +use App\Entity\Interfaces\NodeInterface; use Doctrine\Common\Collections\Collection; /** diff --git a/application/src/Entity/Attribut/BlacklistAttributInterface.php b/application/src/Entity/Attribut/Interfaces/BlacklistAttributInterface.php similarity index 80% rename from application/src/Entity/Attribut/BlacklistAttributInterface.php rename to application/src/Entity/Attribut/Interfaces/BlacklistAttributInterface.php index 1ca7497..e26a198 100644 --- a/application/src/Entity/Attribut/BlacklistAttributInterface.php +++ b/application/src/Entity/Attribut/Interfaces/BlacklistAttributInterface.php @@ -1,6 +1,6 @@ user = $user; } - public function getUser(): User + public function getUser(): UserInterface { return $this->user; } diff --git a/application/src/Entity/Attribut/UserAttributInterface.php b/application/src/Entity/Attribut/UserAttributInterface.php deleted file mode 100644 index 0731341..0000000 --- a/application/src/Entity/Attribut/UserAttributInterface.php +++ /dev/null @@ -1,15 +0,0 @@ -