class Application extends Container implements Application
Traits
Constants
| VERSION |
The Flarum version. |
Properties
| protected bool | $booted |
|
||
| protected array | $bootingCallbacks |
|
||
| protected array | $bootedCallbacks |
|
||
| protected array | $serviceProviders |
|
||
| protected array | $loadedProviders |
|
Methods
Resolve a service provider instance from the class name.
Details
in InteractsWithLaravel
at
line 25
InteractsWithLaravel
terminating($callback)
deprecated
deprecated
in InteractsWithLaravel
at
line 33
void
terminate()
deprecated
deprecated
in InteractsWithLaravel
at
line 38
string
basePath($path = '')
in InteractsWithLaravel
at
line 43
string
publicPath($path = '')
in InteractsWithLaravel
at
line 48
string
storagePath($path = '')
in InteractsWithLaravel
at
line 56
string
bootstrapPath($path = '')
deprecated
deprecated
in InteractsWithLaravel
at
line 67
string
configPath($path = '')
deprecated
deprecated
in InteractsWithLaravel
at
line 78
string
databasePath($path = '')
deprecated
deprecated
in InteractsWithLaravel
at
line 89
string
langPath($path = '')
deprecated
deprecated
in InteractsWithLaravel
at
line 100
string
resourcePath($path = '')
deprecated
deprecated
in InteractsWithLaravel
at
line 108
bool|string
environment(...$environments)
in InteractsWithLaravel
at
line 119
bool
runningInConsole()
in InteractsWithLaravel
at
line 124
bool
runningUnitTests()
in InteractsWithLaravel
at
line 129
bool
hasDebugModeEnabled()
in InteractsWithLaravel
at
line 137
maintenanceMode()
deprecated
deprecated
in InteractsWithLaravel
at
line 142
bool
isDownForMaintenance()
in InteractsWithLaravel
at
line 150
void
registerConfiguredProviders()
deprecated
deprecated
in InteractsWithLaravel
at
line 158
void
registerDeferredProvider($provider, $service = null)
deprecated
deprecated
in InteractsWithLaravel
at
line 166
void
bootstrapWith(array $bootstrappers)
deprecated
deprecated
in InteractsWithLaravel
at
line 171
string
getLocale()
in InteractsWithLaravel
at
line 176
string
getNamespace()
in InteractsWithLaravel
at
line 181
array
getProviders($provider)
in InteractsWithLaravel
at
line 191
bool
hasBeenBootstrapped()
deprecated
deprecated
in InteractsWithLaravel
at
line 199
void
loadDeferredProviders()
deprecated
deprecated
in InteractsWithLaravel
at
line 204
void
setLocale($locale)
in InteractsWithLaravel
at
line 212
bool
shouldSkipMiddleware()
deprecated
deprecated
in InteractsWithLaravel
at
line 217
string
joinPaths(string $basePath, string $path = '')
at
line 55
mixed
config(string $key, mixed $default = null)
at
line 62
string
url(string|null $path = null)
at
line 74
protected void
registerBaseBindings()
at
line 91
protected void
registerBaseServiceProviders()
at
line 96
ServiceProvider
register($provider, $force = false)
at
line 123
ServiceProvider|null
getProvider(ServiceProvider $provider)
at
line 137
ServiceProvider
resolveProvider(ServiceProvider> $provider)
Resolve a service provider instance from the class name.