mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
FEATURE [datamapper][regroupment] make the datamapper work
This commit is contained in:
@@ -24,7 +24,7 @@ class Regroupment
|
||||
/**
|
||||
* @var Center
|
||||
* @ORM\ManyToMany(
|
||||
* targetEntity="Chill\MainBundle\Entity\Center"
|
||||
* targetEntity=Center::class
|
||||
* )
|
||||
* @ORM\Id
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ class Regroupment
|
||||
$this->centers = new ArrayCollection();
|
||||
}
|
||||
|
||||
public function getCenters(): ?Collection
|
||||
public function getCenters(): Collection
|
||||
{
|
||||
return $this->centers;
|
||||
}
|
||||
|
Reference in New Issue
Block a user