Collective\Annotations\Console\RouteScanCommand::fire PHP Method

fire() public method

Execute the console command.
public fire ( ) : void
return void
    public function fire()
    {
        $this->files->put($this->getOutputPath(), $this->getRouteDefinitions());
        $this->info('Routes scanned!');
        if ($this->option('list')) {
            $this->call('route:list');
        }
    }