private function bootForJob()
    {
        if (!isCLI()) {
            abort(500, "Somehow, you are not running this from a command line interface.");
        }

        $this->setErrorConfigurations();

        //Match routes
        $args = Args::parse();
        $target = CLIRouter::getInstance()->matchCommand($args);

        return [$args, $target];
    }
private function bootForJob()
    {
        if (!isCLI()) {
            abort(500, "Somehow, you are not running this from a command line interface.");
        }

        $this->setErrorConfigurations();

        //Match routes
        $args = Args::parse();
        $target = CLIRouter::getInstance()->matchCommand($args);

        return [$args, $target];
    }
private function bootForJob ( ) { if ( ! isCLI ( ) ) { abort ( 500 , "Somehow, you are not running this from a command line interface." ) ; } $ this -> setErrorConfigurations ( ) ; //Match routes $ args = Args :: parse ( ) ; $ target = CLIRouter :: getInstance ( ) -> matchCommand ( $ args ) ; return [ $ args , $ target ] ; }
Boots application to handle CLI requests
@return array
@throws HttpException
@throws Exception
Boots application to handle CLI requests