mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-03-14 19:05:18 +01:00
32 lines
706 B
PHP
32 lines
706 B
PHP
<?php
|
|
|
|
namespace App\Entity\Source;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
use Doctrine\Common\Collections\Collection;
|
|
use App\Entity\Source\Attribut\MembersAttributInterface;
|
|
use App\Entity\Source\Attribut\MembersAttribut;
|
|
use Doctrine\Common\Collections\ArrayCollection;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
* @ORM\Table(name="source_group")
|
|
* @ORM\Entity
|
|
*/
|
|
final class GroupSource extends AbstractSource implements MembersAttributInterface
|
|
{
|
|
use MembersAttribut;
|
|
|
|
/**
|
|
* @var Collection
|
|
* @ORM\ManyToMany(targetEntity="AbstractSource")
|
|
*/
|
|
protected $members;
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->members = new ArrayCollection();
|
|
}
|
|
}
|