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;
    }