Optimized Attributes and tests for it

This commit is contained in:
Kevin Frantz
2019-02-07 13:14:55 +01:00
parent f85b0118a7
commit 25e63d4983
13 changed files with 245 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
namespace App\Entity\Meta;
use Doctrine\ORM\Mapping as ORM;
use App\Attribut\RightsAttribute;
use App\Attribut\RightsAttribut;
use Doctrine\Common\Collections\ArrayCollection;
use App\Attribut\RelationAttribut;
use App\Entity\Source\SourceInterface;
@@ -16,7 +16,7 @@ use App\Attribut\GrantAttribut;
*/
class Law extends AbstractMeta implements LawInterface
{
use RightsAttribute, RelationAttribut, GrantAttribut;
use RightsAttribut, RelationAttribut, GrantAttribut;
/**
* @ORM\Column(type="boolean",name="`grant`")

View File

@@ -3,9 +3,9 @@
namespace App\Entity\Meta\Relation\Parent;
use App\Attribut\ParentsAttributInterface;
use App\Attribut\ChildsAttributeInterface;
use App\Attribut\ChildsAttributInterface;
use App\Entity\Meta\Relation\RelationInterface;
interface ParentRelationInterface extends RelationInterface, ParentsAttributInterface, ChildsAttributeInterface
interface ParentRelationInterface extends RelationInterface, ParentsAttributInterface, ChildsAttributInterface
{
}