예제 #1
0
파일: User.php 프로젝트: unpetitlu/store
 /**
  * Remove address
  *
  * @param \Store\BackendBundle\Entity\UserAdress $address
  */
 public function removeAddress(\Store\BackendBundle\Entity\UserAddress $address)
 {
     $this->address->removeElement($address);
 }
예제 #2
0
파일: Order.php 프로젝트: unpetitlu/store
 /**
  * Remove detail
  *
  * @param \Store\BackendBundle\Entity\OrderDetail $detail
  */
 public function removeDetail(\Store\BackendBundle\Entity\OrderDetail $detail)
 {
     $this->detail->removeElement($detail);
 }