public function processTasks()
    {
        /** @var TaskInterface $task */
        foreach ($this->tasks as $task) {
            $callable = new $task();

            $result = call_user_func(
                $callable, $this->route, $this->console, $this->params
            );

            if (1 === $result) {
                return false;
            }
        }

        return true;
    }
public function processTasks()
    {
        /** @var TaskInterface $task */
        foreach ($this->tasks as $task) {
            $callable = new $task();

            $result = call_user_func(
                $callable, $this->route, $this->console, $this->params
            );

            if (1 === $result) {
                return false;
            }
        }

        return true;
    }
public function processTasks ( ) { /** @var TaskInterface $task */ foreach ( $ this -> tasks as $ task ) { $ callable = new $ task ( ) ; $ result = call_user_func ( $ callable , $ this -> route , $ this -> console , $ this -> params ) ; if ( 1 === $ result ) { return false ; } } return true ; }
Process command tasks
Process command tasks