mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-08-21 19:25:03 +02:00
29 lines
672 B
PHP
29 lines
672 B
PHP
<?php
|
|
|
|
namespace App\Entity\Meta\Relation\Parent;
|
|
|
|
use App\Entity\Attribut\IdAttribut;
|
|
use App\Entity\Attribut\ParentsAttribut;
|
|
use App\Entity\Attribut\ChildsAttribut;
|
|
use Doctrine\Common\Collections\ArrayCollection;
|
|
use App\Entity\Meta\Relation\AbstractRelation;
|
|
|
|
/**
|
|
* This class represents a relation.
|
|
*
|
|
* @author kevinfrantz
|
|
*/
|
|
abstract class AbstractParentRelation extends AbstractRelation implements ParentRelationInterface
|
|
{
|
|
use IdAttribut,
|
|
ParentsAttribut,
|
|
ChildsAttribut;
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->parents = new ArrayCollection();
|
|
$this->childs = new ArrayCollection();
|
|
}
|
|
}
|