public function removeItem($invoiceItem) { return $this->setItems(array_diff($this->getItems(), array($invoiceItem))); }