/** * @inheritdoc */ public function hasChild(CustomerInterface $child) { return $this->children->contains($child); }
/** * @inheritdoc */ public function hasCustomer(CustomerInterface $customer) { return $this->customers->contains($customer); }