Property | Type | Description | |
---|---|---|---|
$availableBindings | array | The available container bindings and their respective load methods. |
Property | Type | Description | |
---|---|---|---|
$aliasesRegistered | boolean | Indicates if the class aliases have been registered. | |
$basePath | string | The base path of the application installation. | |
$loadedConfigurations | array | All of the loaded configuration files. | |
$loadedProviders | array | The loaded service providers. | |
$monologConfigurator | callable | null | A custom callback used to configure Monolog. | |
$namespace | string | The application namespace. | |
$ranServiceBinders | array | The service binding methods that have been executed. |
Method | Description | |
---|---|---|
__construct ( string | null $basePath = null ) : void | Create a new Lumen application instance. | |
basePath ( string | null $path = null ) : string | Get the base path for the application. | |
configure ( string $name ) : void | Load a configuration file into the application. | |
configureMonologUsing ( callable $callback ) | Define a callback to be used to configure Monolog. | |
databasePath ( ) : string | Get the database path for the application. | |
environment ( ) : string | Get or check the current application environment. | |
getConfigurationPath ( string | null $name = null ) : string | Get the path to the given configuration file. | |
getNamespace ( ) : string | Get the application namespace. | |
isDownForMaintenance ( ) : boolean | Determine if the application is currently down for maintenance. | |
loadComponent ( string $config, array | string $providers, string | null $return = null ) : mixed | Configure and load the given component and provider. | |
make ( string $abstract, array $parameters = [] ) : mixed | Resolve the given type from the container. | |
path ( ) : string | Get the path to the application "app" directory. | |
prepareForConsoleCommand ( boolean $aliases = true ) : void | Prepare the application to execute a console command. | |
register ( |
Register a service provider with the application. | |
registerDeferredProvider ( string $provider, string | null $service = null ) : void | Register a deferred provider and service. | |
runningInConsole ( ) : boolean | Determine if the application is running in the console. | |
runningUnitTests ( ) : boolean | Determine if we are running unit tests. | |
storagePath ( string | null $path = null ) : string | Get the storage path for the application. | |
version ( ) : string | Get the version number of the application. | |
withAliases ( array $userAliases = [] ) : void | Register the aliases for the application. | |
withEloquent ( ) : void | Load the Eloquent library for the application. | |
withFacades ( boolean $aliases = true, array $userAliases = [] ) : void | Register the facades for the application. |
Method | Description | |
---|---|---|
bootstrapContainer ( ) : void | Bootstrap the application container. | |
getLanguagePath ( ) : string | Get the path to the application's language files. | |
getMonologHandler ( ) : |
Get the Monolog handler for the application. | |
prepareRequest ( Illuminate\Http\Request $request ) : Illuminate\Http\Request | Prepare the given request instance for use with the application. | |
registerAuthBindings ( ) : void | Register container bindings for the application. | |
registerBroadcastingBindings ( ) : void | Register container bindings for the application. | |
registerBusBindings ( ) : void | Register container bindings for the application. | |
registerCacheBindings ( ) : void | Register container bindings for the application. | |
registerComposerBindings ( ) : void | Register container bindings for the application. | |
registerConfigBindings ( ) : void | Register container bindings for the application. | |
registerContainerAliases ( ) : void | Register the core container aliases. | |
registerDatabaseBindings ( ) : void | Register container bindings for the application. | |
registerEncrypterBindings ( ) : void | Register container bindings for the application. | |
registerEventBindings ( ) : void | Register container bindings for the application. | |
registerFilesBindings ( ) : void | Register container bindings for the application. | |
registerHashBindings ( ) : void | Register container bindings for the application. | |
registerLogBindings ( ) : void | Register container bindings for the application. | |
registerPsrRequestBindings ( ) : void | Register container bindings for the PSR-7 request implementation. | |
registerPsrResponseBindings ( ) : void | Register container bindings for the PSR-7 response implementation. | |
registerQueueBindings ( ) : void | Register container bindings for the application. | |
registerRequestBindings ( ) : void | Register container bindings for the application. | |
registerTranslationBindings ( ) : void | Register container bindings for the application. | |
registerUrlGeneratorBindings ( ) : void | Register container bindings for the application. | |
registerValidatorBindings ( ) : void | Register container bindings for the application. | |
registerViewBindings ( ) : void | Register container bindings for the application. |
protected bootstrapContainer ( ) : void | ||
return | void |
public configureMonologUsing ( callable $callback ) | ||
$callback | callable |
public databasePath ( ) : string | ||
return | string |
public environment ( ) : string | ||
return | string |
protected getLanguagePath ( ) : string | ||
return | string |
protected getMonologHandler ( ) : |
||
return |
public getNamespace ( ) : string | ||
return | string |
public isDownForMaintenance ( ) : boolean | ||
return | boolean |
public prepareForConsoleCommand ( boolean $aliases = true ) : void | ||
$aliases | boolean | |
return | void |
protected prepareRequest ( Illuminate\Http\Request $request ) : Illuminate\Http\Request | ||
$request | Illuminate\Http\Request | |
return | Illuminate\Http\Request |
protected registerAuthBindings ( ) : void | ||
return | void |
protected registerBroadcastingBindings ( ) : void | ||
return | void |
protected registerBusBindings ( ) : void | ||
return | void |
protected registerCacheBindings ( ) : void | ||
return | void |
protected registerComposerBindings ( ) : void | ||
return | void |
protected registerConfigBindings ( ) : void | ||
return | void |
protected registerContainerAliases ( ) : void | ||
return | void |
protected registerDatabaseBindings ( ) : void | ||
return | void |
protected registerEncrypterBindings ( ) : void | ||
return | void |
protected registerEventBindings ( ) : void | ||
return | void |
protected registerFilesBindings ( ) : void | ||
return | void |
protected registerHashBindings ( ) : void | ||
return | void |
protected registerLogBindings ( ) : void | ||
return | void |
protected registerPsrRequestBindings ( ) : void | ||
return | void |
protected registerPsrResponseBindings ( ) : void | ||
return | void |
protected registerQueueBindings ( ) : void | ||
return | void |
protected registerRequestBindings ( ) : void | ||
return | void |
protected registerTranslationBindings ( ) : void | ||
return | void |
protected registerUrlGeneratorBindings ( ) : void | ||
return | void |
protected registerValidatorBindings ( ) : void | ||
return | void |
protected registerViewBindings ( ) : void | ||
return | void |
public runningInConsole ( ) : boolean | ||
return | boolean |
public runningUnitTests ( ) : boolean | ||
return | boolean |
public withAliases ( array $userAliases = [] ) : void | ||
$userAliases | array | |
return | void |
public withEloquent ( ) : void | ||
return | void |
protected static bool $aliasesRegistered | ||
return | boolean |
public array $availableBindings | ||
return | array |
protected string $basePath | ||
return | string |
protected array $loadedConfigurations | ||
return | array |
protected array $loadedProviders | ||
return | array |
protected string $namespace | ||
return | string |
protected array $ranServiceBinders | ||
return | array |