示例#1
0
 /**
  * Set provider
  *
  * @param \AppBundle\Entity\Provider $provider
  *
  * @return Contact
  */
 public function setProvider(\AppBundle\Entity\Provider $provider = null)
 {
     $this->provider = $provider;
     if ($this->provider != null) {
         $this->provider->addContact($this);
     }
     return $this;
 }