Refactored relation and node draft

This commit is contained in:
Kevin Frantz
2018-10-27 14:56:26 +02:00
parent 7734f57c63
commit a95ff0497e
24 changed files with 260 additions and 160 deletions

View File

@@ -0,0 +1,26 @@
<?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;
/**
*
* @author kevinfrantz
* @ORM\Table(name="source_sources")
* @ORM\Entity
*/
class GroupSource extends AbstractSource implements MembersAttributInterface
{
use MembersAttribut;
/**
*
* @var Collection
* @ORM\ManyToMany(targetEntity="AbstractSource")
*/
protected $members;
}