fix(manager): add doctrine fixtures

This commit is contained in:
2022-10-04 09:47:41 +02:00
parent f29fc43c8a
commit 5fa52efe9f
14 changed files with 597 additions and 13 deletions

View File

@ -104,14 +104,6 @@ class Niveau01
*/
private $modos;
public function __construct()
{
$this->niveau02s = new ArrayCollection();
$this->registrations = new ArrayCollection();
$this->users = new ArrayCollection();
$this->modos = new ArrayCollection();
}
// == CODE A NE PAS REGENERER
public function setId(int $id): self
{
@ -121,6 +113,14 @@ class Niveau01
}
// == FIN DU CODE A NE PAS REGENERER
public function __construct()
{
$this->niveau02s = new ArrayCollection();
$this->registrations = new ArrayCollection();
$this->users = new ArrayCollection();
$this->modos = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;