Nwidart\Modules\Commands\GenerateListenerCommand::fire PHP Method

fire() public method

public fire ( )
    public function fire()
    {
        if (!$this->option('event')) {
            return $this->error('The --event option is necessary');
        }
        parent::fire();
    }