Sebpro\ArtisanExt\Commands\ExtDBCheck::handle PHP Method

handle() public method

Execute the console command.
public handle ( ) : void
return void
    public function handle()
    {
        if (ArtisanExt::checkDb()) {
            return $this->info('Succesfully connected to the database.');
        }
        return $this->error('Failed to connect to the database.');
    }