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