Nwidart\Modules\Commands\MigrationCommand::fire PHP Méthode

fire() public méthode

Run the command.
public fire ( )
    public function fire()
    {
        parent::fire();
        if (app()->environment() === 'testing') {
            return;
        }
        $this->call('optimize');
    }