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