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:
@@ -401,4 +401,50 @@ class LazaretFile
|
||||
{
|
||||
return $this->thumbFilename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add attributes
|
||||
*
|
||||
* @param \Entities\LazaretAttribute $attributes
|
||||
* @return LazaretFile
|
||||
*/
|
||||
public function addAttribute(\Entities\LazaretAttribute $attributes)
|
||||
{
|
||||
$this->attributes[] = $attributes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove attributes
|
||||
*
|
||||
* @param \Entities\LazaretAttribute $attributes
|
||||
*/
|
||||
public function removeAttribute(\Entities\LazaretAttribute $attributes)
|
||||
{
|
||||
$this->attributes->removeElement($attributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add checks
|
||||
*
|
||||
* @param \Entities\LazaretCheck $checks
|
||||
* @return LazaretFile
|
||||
*/
|
||||
public function addCheck(\Entities\LazaretCheck $checks)
|
||||
{
|
||||
$this->checks[] = $checks;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove checks
|
||||
*
|
||||
* @param \Entities\LazaretCheck $checks
|
||||
*/
|
||||
public function removeCheck(\Entities\LazaretCheck $checks)
|
||||
{
|
||||
$this->checks->removeElement($checks);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user