/** * {@inheritdoc} */ public function hasUnit(OrderItemUnitInterface $unit) { return $this->units->contains($unit); }