public function execute(ActionInterface $action) { $action->execute(); $this->getQueue()->deleteMessage($action->getQueueItem()); if ($this->getQueue()->count() == 0) { $this->finish(); } }
public function execute(ActionInterface $action) { $action->execute(); }