예제 #1
0
파일: Invoker.php 프로젝트: sergiors/worker
 public function run()
 {
     $this->command->execute();
 }
예제 #2
0
 /**
  * executes the command
  */
 public function run()
 {
     // here is a key feature of the invoker
     // the invoker is the same whatever is the command
     $this->command->execute();
 }
예제 #3
0
 /**
  * @return bool
  */
 public function execute()
 {
     return $this->command->execute();
 }