In between commit implementing reciever

This commit is contained in:
Kevin Frantz
2018-10-31 17:19:10 +01:00
parent bb01080b34
commit e7f82c4835
8 changed files with 77 additions and 40 deletions

View File

@@ -1,26 +0,0 @@
<?php
namespace App\Entity\Source\Attribut;
use Doctrine\Common\Collections\Collection;
/**
* @author kevinfrantz
*/
trait MembersAttribut
{
/**
* @var Collection
*/
protected $members;
public function getMembers(): Collection
{
return $this->members;
}
public function setMembers(Collection $members): void
{
$this->members = $members;
}
}

View File

@@ -1,23 +0,0 @@
<?php
namespace App\Entity\Source\Attribut;
use Doctrine\Common\Collections\Collection;
/**
* Allows to group other sources in a source.
*
* @author kevinfrantz
*/
interface MembersAttributInterface
{
/**
* @param Collection $members
*/
public function setMembers(Collection $members): void;
/**
* @return Collection
*/
public function getMembers(): Collection;
}

View File

@@ -4,8 +4,8 @@ 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 App\Entity\Attribut\MembersAttributInterface;
use App\Entity\Attribut\MembersAttribut;
use Doctrine\Common\Collections\ArrayCollection;
/**

View File

@@ -2,7 +2,7 @@
namespace App\Entity\Source;
use App\Entity\Source\Attribut\MembersAttributInterface;
use App\Entity\Attribut\MembersAttributInterface;
/**
* @author kevinfrantz