mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Refactored reciever group and adapted testing namespaces
This commit is contained in:
34
application/src/Entity/Meta/Reciever.php
Normal file
34
application/src/Entity/Meta/Reciever.php
Normal 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
|
||||
{
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user