Пример #1
0
 /**
  * Set provider
  *
  * @param \AppBundle\Entity\Provider $provider
  *
  * @return Application
  */
 public function setProvider(\AppBundle\Entity\Provider $provider = null)
 {
     $this->provider = $provider;
     if (!$provider->getApplications()->contains($this)) {
         $provider->addApplication($this);
     }
     return $this;
 }