public function run() { $this->command->execute(); }
/** * 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(); }
/** * @return bool */ public function execute() { return $this->command->execute(); }