/** * {@inheritdoc} */ public function remove($id) { return $this->itemFactory->create()->setId(1); }
/** * {@inheritdoc} */ public function update(Item $item) { return $this->itemFactory->create()->setId($item->getId())->setName('Updated' . $item->getName()); }