PHP Class Collective\Annotations\Console\RouteScanCommand

Inheritance: extends Illuminate\Console\Command, use trait Illuminate\Console\AppNamespaceDetectorTrait
Exibir arquivo Open project: laravelcollective/annotations

Protected Properties

Property Type Description
$description string The console command description.
$files Illuminate\Filesystem\Filesystem The filesystem instance.
$name string The console command name.
$provider Collective\Annotations\AnnotationsServiceProvider The Service Provider instance.

Public Methods

Method Description
__construct ( Illuminate\Filesystem\Filesystem $files, AnnotationsServiceProvider $provider ) Create a new event scan command instance.
fire ( ) : void Execute the console command.

Protected Methods

Method Description
getOptions ( ) : array Get the console command options.
getOutputPath ( ) : string Get the path to which the routes should be written.
getRouteDefinitions ( ) : string Get the route definitions for the annotations.

Method Details

__construct() public method

Create a new event scan command instance.
public __construct ( Illuminate\Filesystem\Filesystem $files, AnnotationsServiceProvider $provider )
$files Illuminate\Filesystem\Filesystem
$provider Collective\Annotations\AnnotationsServiceProvider

fire() public method

Execute the console command.
public fire ( ) : void
return void

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

getOutputPath() protected method

Get the path to which the routes should be written.
protected getOutputPath ( ) : string
return string

getRouteDefinitions() protected method

Get the route definitions for the annotations.
protected getRouteDefinitions ( ) : string
return string

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$files protected_oe property

The filesystem instance.
protected Filesystem,Illuminate\Filesystem $files
return Illuminate\Filesystem\Filesystem

$name protected_oe property

The console command name.
protected string $name
return string

$provider protected_oe property

The Service Provider instance.
protected AnnotationsServiceProvider,Collective\Annotations $provider
return Collective\Annotations\AnnotationsServiceProvider