Refactored reciever group and adapted testing namespaces

This commit is contained in:
Kevin Frantz
2018-10-31 16:15:39 +01:00
parent 09cfcebb92
commit bb01080b34
17 changed files with 90 additions and 140 deletions

View File

@@ -0,0 +1,34 @@
<?php
namespace App\Entity\Meta;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Fresh\DoctrineEnumBundle\Validator\Constraints as DoctrineAssert;
use App\Entity\Attribut\RelationAttribut;
use App\Entity\Attribut\RelationAttributInterface;
/**
* @author kevinfrantz
* @ORM\Table(name="meta_reciever_group")
* @ORM\Entity()
*/
class Reciever extends AbstractMeta implements RecieverInterface
{
use RelationAttribut;
/**
* The node for which the right exists.
*
* @ORM\ManyToOne(targetEntity="Relation")
* @ORM\JoinColumn(name="relation_id", referencedColumnName="id")
*
* @var RelationAttributInterface
*/
protected $relation;
public function getAllRecievers(): ArrayCollection
{
}
}