Optimized for SPA

This commit is contained in:
Kevin Frantz
2019-01-05 23:52:37 +01:00
parent 9e685260e9
commit bccd6efaff
393 changed files with 253 additions and 37 deletions

View File

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