mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-11-04 19:27:57 +00:00
Refactored relation and node draft
This commit is contained in:
26
application/src/Entity/Source/GroupSource.php
Normal file
26
application/src/Entity/Source/GroupSource.php
Normal 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user