mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Load social work, and fix some repositories
This commit is contained in:
@@ -68,6 +68,15 @@ class SocialAction
|
||||
*/
|
||||
private $results;
|
||||
|
||||
/**
|
||||
* @var Collection
|
||||
* @ORM\OneToMany(
|
||||
* targetEntity=Evaluation::class,
|
||||
* mappedBy="socialAction"
|
||||
* )
|
||||
*/
|
||||
private Collection $evaluations;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->children = new ArrayCollection();
|
||||
@@ -257,4 +266,12 @@ class SocialAction
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Collection
|
||||
*/
|
||||
public function getEvaluations(): Collection
|
||||
{
|
||||
return $this->evaluations;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user