Renamed GroupSourcesAttribut to MembershipsAttribut and Implemented\Optimized tests

This commit is contained in:
Kevin Frantz
2018-11-01 20:42:18 +01:00
parent 5f18245b73
commit 61186470da
10 changed files with 139 additions and 88 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Entity\Attribut;
use Doctrine\Common\Collections\Collection;
use App\Entity\Source\Collection\MemberCollectionSourceInterface;
/**
* @author kevinfrantz
*/
interface MembershipsAttributInterface
{
/**
* @param Collection|MemberCollectionSourceInterface[] $groups
*/
public function setMemberships(Collection $memberships): void;
/**
* @return Collection|MemberCollectionSourceInterface[]
*/
public function getMemberships(): Collection;
}