PHP Class Adamgoose\Console\RouteScanCommand

Inheritance: extends Illuminate\Console\Command, use trait Illuminate\Console\AppNamespaceDetectorTrait
ファイルを表示 Open project: adamgoose/laravel-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.

Public Methods

Method Description
__construct ( Illuminate\Filesystem\Filesystem $files ) : void 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 ) : void
$files Illuminate\Filesystem\Filesystem
return void

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