/**
  * {@inheritDoc}
  */
 public function setAdvert(\LamaDelRay\PlatformBundle\Entity\Advert $advert)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAdvert', [$advert]);
     return parent::setAdvert($advert);
 }
Пример #2
0
 /**
  * Add application
  *
  * @param \LamaDelRay\PlatformBundle\Entity\Application $application
  *
  * @return Advert
  */
 public function addApplication(\LamaDelRay\PlatformBundle\Entity\Application $application)
 {
     $this->applications[] = $application;
     $application->setAdvert($this);
     return $this;
 }