class Application extends Container implements Application
Traits
Implementation of the Laravel Application Contract, for the sake of better integration with Laravel packages/ecosystem.
Constants
VERSION |
<p>The Flarum version.</p> |
Properties
protected | $booted | |||
protected | $bootingCallbacks | |||
protected | $bootedCallbacks | |||
protected | $serviceProviders | |||
protected | $loadedProviders |
Methods
<p>Resolve a service provider instance from the class name.</p>
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 145
bool
isDownForMaintenance()
deprecated
deprecated
in InteractsWithLaravel
at
line 154
void
registerConfiguredProviders()
deprecated
deprecated
in InteractsWithLaravel
at
line 162
void
registerDeferredProvider($provider, $service = null)
deprecated
deprecated
in InteractsWithLaravel
at
line 170
void
bootstrapWith(array $bootstrappers)
deprecated
deprecated
in InteractsWithLaravel
at
line 175
string
getLocale()
in InteractsWithLaravel
at
line 180
string
getNamespace()
in InteractsWithLaravel
at
line 185
array
getProviders($provider)
in InteractsWithLaravel
at
line 195
bool
hasBeenBootstrapped()
deprecated
deprecated
in InteractsWithLaravel
at
line 203
void
loadDeferredProviders()
deprecated
deprecated
in InteractsWithLaravel
at
line 208
void
setLocale($locale)
in InteractsWithLaravel
at
line 216
bool
shouldSkipMiddleware()
deprecated
deprecated
in InteractsWithLaravel
at
line 221
string
joinPaths(string $basePath, string $path = '')
at
line 48
mixed
config(string $key, mixed $default = null)
at
line 55
string
url(string $path = null)
at
line 67
protected void
registerBaseBindings()
at
line 84
protected void
registerBaseServiceProviders()
at
line 89
ServiceProvider
register($provider, $force = false)
at
line 116
ServiceProvider|null
getProvider(ServiceProvider $provider)
at
line 130
ServiceProvider
resolveProvider(ServiceProvider> $provider)
<p>Resolve a service provider instance from the class name.</p>