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