mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
Update entities and repositories to Doctrine 2.3 format
This commit is contained in:
@@ -370,4 +370,27 @@ class ValidationSession
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add participants
|
||||
*
|
||||
* @param \Entities\ValidationParticipant $participants
|
||||
* @return ValidationSession
|
||||
*/
|
||||
public function addParticipant(\Entities\ValidationParticipant $participants)
|
||||
{
|
||||
$this->participants[] = $participants;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove participants
|
||||
*
|
||||
* @param \Entities\ValidationParticipant $participants
|
||||
*/
|
||||
public function removeParticipant(\Entities\ValidationParticipant $participants)
|
||||
{
|
||||
$this->participants->removeElement($participants);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user