mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Implemented tests for GroupSource
This commit is contained in:
@@ -5,6 +5,7 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use App\Entity\Source\Attribut\MembersAttributInterface;
|
||||
use App\Entity\Source\Attribut\MembersAttribut;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -22,5 +23,10 @@ final class GroupSource extends AbstractSource implements MembersAttributInterfa
|
||||
* @ORM\ManyToMany(targetEntity="AbstractSource")
|
||||
*/
|
||||
protected $members;
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->members = new ArrayCollection();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user