App class abstract final

Container access.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

container → Container
no setter
instance → Application
no setter
locale → String
The locale of the current request, job or command (APP_LOCALE unless setLocale or SetLocaleMiddleware chose another).
no setter

Static Methods

isLocale(String locale) → bool
Whether the current locale is locale.
make<T extends Object>({String? name}) → T
setLocale(String locale) → void
Sets the locale for the rest of the current scope (Laravel's App::setLocale).
tryMake<T extends Object>({String? name}) → T?