public function check(Command $console)
    {
        $this->console = $console;

        $this->console->comment("\nChecking system requirements");

        $this->process = new Process($this->console);
        $this->versionCheck();
        $this->extensionCheck();
        $this->hasDatabaseDriver();
        $this->disabledFunctionCheck();
        $this->requiredSystemCommands();
        $this->nodeJsCommand();
        $this->checkPermissions();
        if ($this->errors) {
            $this->console->line('');
            $this->console->block('Accio cannot be installed because your system doesn\'t meet minimal requirements. Please fix the errors above before retrying to install.');
            $this->console->line('');
        }
        return !$this->errors;
    }
public function check(Command $console)
    {
        $this->console = $console;

        $this->console->comment("\nChecking system requirements");

        $this->process = new Process($this->console);
        $this->versionCheck();
        $this->extensionCheck();
        $this->hasDatabaseDriver();
        $this->disabledFunctionCheck();
        $this->requiredSystemCommands();
        $this->nodeJsCommand();
        $this->checkPermissions();
        if ($this->errors) {
            $this->console->line('');
            $this->console->block('Accio cannot be installed because your system doesn\'t meet minimal requirements. Please fix the errors above before retrying to install.');
            $this->console->line('');
        }
        return !$this->errors;
    }
public function check ( Command $ console ) { $ this -> console = $ console ; $ this -> console -> comment ( "\nChecking system requirements" ) ; $ this -> process = new Process ( $ this -> console ) ; $ this -> versionCheck ( ) ; $ this -> extensionCheck ( ) ; $ this -> hasDatabaseDriver ( ) ; $ this -> disabledFunctionCheck ( ) ; $ this -> requiredSystemCommands ( ) ; $ this -> nodeJsCommand ( ) ; $ this -> checkPermissions ( ) ; if ( $ this -> errors ) { $ this -> console -> line ( '' ) ; $ this -> console -> block ( 'Accio cannot be installed because your system doesn\'t meet minimal requirements. Please fix the errors above before retrying to install.' ) ; $ this -> console -> line ( '' ) ; } return ! $ this -> errors ; }
Checks the system meets all the requirements needed to run Deployer.

@param  Command $console
@return bool
Checks the system meets all the requirements needed to run Deployer .