/**
  * {@inheritDoc}
  */
 public function getAdvert()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAdvert', []);
     return parent::getAdvert();
 }
Exemple #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;
 }