AppConfig class final
Core application settings (config/app.php parity).
- Implemented types
Constructors
Properties
- debug → bool
-
final
- env → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLocal → bool
-
no setter
- isProduction → bool
-
no setter
- isTesting → bool
-
no setter
- key → String
-
Top-level key of the section, e.g.
appordatabase.no setteroverride - laravelCompat → int
-
The Laravel major version whose wire formats the application answers
with (
COMPAT_LARAVEL_VERSION, 8 to 13, default 12). 10 to 13 share them. 9 uses the older validation messages (The email must be ...); 8 also answersThe given data was invalid.for every 422, an empty 404 message and... not supported for this route.for a 405.final - locale → String
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timezone → String
-
final
- url → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
Plain-map projection used for dot-notation access.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseLaravelCompat(
String? value) → int -
Parses
COMPAT_LARAVEL_VERSION: a major version (8), optionally as8.xor a full version (8.83.27).
Constants
- defaultLaravelCompat → const int
- The default of laravelCompat: the Laravel the conformance suite pins.