/** * @param \ThinkopenAt\TimeFlies\Domain\Model\Item $item * @return void */ public function updateAction(Item $item) { $item->setBeginFromParts(); $item->setEndFromParts(); $this->itemRepository->update($item); $this->addFlashMessage('Updated the item.'); $this->redirect('index'); }
/** * @param \ThinkopenAt\TimeFlies\Domain\Model\Item $item * @return void */ public function updateAction(Item $item) { $this->itemRepository->update($item); $this->addFlashMessage('Updated the item.'); $this->redirect('index'); }