Свойство | Тип | Описание | |
---|---|---|---|
$commands | array | The commands to be registered. | |
$finder | File finder for annotations. | ||
$scanControllers | boolean | Determines whether or not to automatically scan the controllers directory (App\Http\Controllers) for routes. | |
$scanEvents | array | The classes to scan for event annotations. | |
$scanEverything | boolean | Determines whether or not to automatically scan all namespaced classes for event, route, and model annotations. | |
$scanModels | array | The classes to scan for model binding annotations. | |
$scanRoutes | array | The classes to scan for route annotations. | |
$scanWhenLocal | boolean | Determines if we will auto-scan in the local environment. |
Метод | Описание | |
---|---|---|
__construct ( Illuminate\Contracts\Foundation\Application $app ) | ||
addEventAnnotations ( |
Add annotation classes to the event scanner. | |
addModelAnnotations ( |
Add annotation classes to the model scanner. | |
addRoutingAnnotations ( |
Add annotation classes to the route scanner. | |
boot ( ) : void | Register the application's annotated event listeners. | |
convertNamespaceToPath ( string $namespace ) : string | Convert the given namespace to a file path. | |
eventScans ( ) : array | Get the classes to be scanned by the provider. | |
getClassesFromNamespace ( string $namespace, null $base = null ) : array | Get a list of the classes in a namespace. Leaving the second argument will scan for classes within the project's app directory. | |
loadAnnotatedEvents ( ) : void | Load the annotated events. | |
modelScans ( ) : array | Get the classes to be scanned by the provider. | |
register ( ) : void | Register the service provider. | |
routeScans ( ) : array | Get the classes to be scanned by the provider. |
Метод | Описание | |
---|---|---|
getAllClasses ( ) : array | Get a list of classes in the root namespace. | |
loadAnnotatedModels ( ) : void | Load the annotated models. | |
loadAnnotatedRoutes ( ) : void | Load the annotated routes. | |
loadScannedEvents ( ) : void | Load the scanned events for the application. | |
loadScannedModels ( ) : void | Load the scanned application models. | |
loadScannedRoutes ( ) : void | Load the scanned application routes. | |
registerCommands ( ) : void | Register the commands. | |
registerEventScanCommand ( ) : void | Register the command. | |
registerEventScanner ( ) : void | Register the scanner. | |
registerModelScanCommand ( ) : void | Register the command. | |
registerModelScanner ( ) : void | Register the scanner. | |
registerRouteScanCommand ( ) : void | Register the command. | |
registerRouteScanner ( ) : void | Register the scanner. | |
scanEvents ( ) : void | Scan the events for the application. | |
scanModels ( ) : void | Scan the models and write the scanned models file. | |
scanRoutes ( ) : void | Scan the routes and write the scanned routes file. |
public __construct ( Illuminate\Contracts\Foundation\Application $app ) | ||
$app | Illuminate\Contracts\Foundation\Application |
public addEventAnnotations ( |
||
$scanner |
public addModelAnnotations ( |
||
$scanner |
public addRoutingAnnotations ( |
||
$scanner |
public convertNamespaceToPath ( string $namespace ) : string | ||
$namespace | string | the namespace to convert |
Результат | string |
public eventScans ( ) : array | ||
Результат | array |
protected getAllClasses ( ) : array | ||
Результат | array |
public loadAnnotatedEvents ( ) : void | ||
Результат | void |
protected loadAnnotatedModels ( ) : void | ||
Результат | void |
protected loadAnnotatedRoutes ( ) : void | ||
Результат | void |
protected loadScannedEvents ( ) : void | ||
Результат | void |
protected loadScannedModels ( ) : void | ||
Результат | void |
protected loadScannedRoutes ( ) : void | ||
Результат | void |
public modelScans ( ) : array | ||
Результат | array |
protected registerCommands ( ) : void | ||
Результат | void |
protected registerEventScanCommand ( ) : void | ||
Результат | void |
protected registerEventScanner ( ) : void | ||
Результат | void |
protected registerModelScanCommand ( ) : void | ||
Результат | void |
protected registerModelScanner ( ) : void | ||
Результат | void |
protected registerRouteScanCommand ( ) : void | ||
Результат | void |
protected registerRouteScanner ( ) : void | ||
Результат | void |
public routeScans ( ) : array | ||
Результат | array |
protected scanEvents ( ) : void | ||
Результат | void |
protected scanModels ( ) : void | ||
Результат | void |
protected scanRoutes ( ) : void | ||
Результат | void |
protected array $commands | ||
Результат | array |
protected AnnotationFinder,Collective\Annotations $finder | ||
Результат |
protected bool $scanControllers | ||
Результат | boolean |
protected array $scanEvents | ||
Результат | array |
protected bool $scanEverything | ||
Результат | boolean |
protected array $scanModels | ||
Результат | array |
protected array $scanRoutes | ||
Результат | array |
protected bool $scanWhenLocal | ||
Результат | boolean |