REBELinBLUE\Deployer\Console\Commands\ResetApp::handle PHP Method

handle() public method

Execute the console command.
public handle ( ) : mixed
return mixed
    public function handle()
    {
        if (!$this->verifyNotProduction()) {
            return;
        }
        $this->app = $this->laravel;
        $this->withoutEvents();
        $this->clearLogs();
        $this->updateConfiguration();
        $this->resetDB();
        $this->migrate(true);
        $this->clearCaches();
        $this->restartQueue();
        $this->restartSocket();
    }