PHP Class Collective\Annotations\Console\ModelScanCommand

Inheritance: extends Illuminate\Console\Command
ファイルを表示 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 Serivce 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
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

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 Serivce Provider instance.
protected AnnotationsServiceProvider,Collective\Annotations $provider
return Collective\Annotations\AnnotationsServiceProvider