Exemplo n.º 1
0
 /**
  * Remove prices
  *
  * @param \Siciarek\AdRotatorBundle\Entity\AdPrice $prices
  */
 public function removePrice(\Siciarek\AdRotatorBundle\Entity\AdPrice $prices)
 {
     $prices->removeType($this);
     $this->prices->removeElement($prices);
 }
Exemplo n.º 2
0
 /**
  * Remove click
  *
  * @param \Siciarek\AdRotatorBundle\Entity\AdClick $click
  */
 public function removeClick(\Siciarek\AdRotatorBundle\Entity\AdPrice $click)
 {
     $click->removeType($this);
     $this->clicks->removeElement($click);
 }