コード例 #1
0
ファイル: Customer.php プロジェクト: ekyna/commerce
 /**
  * @inheritdoc
  */
 public function removeChild(CustomerInterface $child)
 {
     if ($this->hasChild($child)) {
         $this->children->removeElement($child);
     }
     return $this;
 }
コード例 #2
0
ファイル: PriceList.php プロジェクト: ekyna/commerce
 /**
  * @inheritdoc
  */
 public function removeCustomer(CustomerInterface $customer)
 {
     if ($this->hasCustomer($customer)) {
         $this->customers->removeElement($customer);
     }
     return $this;
 }