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