PHP Class Adamgoose\Console\EventScanCommand

Inheritance: extends Illuminate\Console\Command
Mostrar archivo 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
getEventDefinitions ( ) : string Get the route definitions for the annotations.
getOptions ( ) : array Get the console command options.
getOutputPath ( ) : string Get the path to which the routes should be written.

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

getEventDefinitions() protected method

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

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

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