Cake\Console\ShellDispatcher::__construct PHP Метод

__construct() публичный Метод

The execution of the script is stopped after dispatching the request with a status code of either 0 or 1 according to the result of the dispatch.
public __construct ( array $args = [], boolean $bootstrap = true )
$args array the argv from PHP
$bootstrap boolean Should the environment be bootstrapped.
    public function __construct($args = [], $bootstrap = true)
    {
        set_time_limit(0);
        $this->args = (array) $args;
        $this->addShortPluginAliases();
        if ($bootstrap) {
            $this->_initEnvironment();
        }
    }