예제 #1
0
파일: Customer.php 프로젝트: ekyna/commerce
 /**
  * @inheritdoc
  */
 public function removeChild(CustomerInterface $child)
 {
     if ($this->hasChild($child)) {
         $this->children->removeElement($child);
     }
     return $this;
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 public function removeCustomer(CustomerInterface $customer)
 {
     if ($this->hasCustomer($customer)) {
         $this->customers->removeElement($customer);
     }
     return $this;
 }