Loader
classe Loader implémente ArrayAccess (Voir la source)
Propriétés
static protected Loader | $instance | ||
protected Arraydotify | $config | ||
protected string | $base_path | ||
protected bool | $booted |
Méthodes
Check if php running env is cli
Get the base path
Push middlewares
Push namespaces
Middleware collection
Namespaces collection
Get app namespace
Middleware collection
Load services
Load events
Alias of singleton
Define if the configuration going to boot without session manager
__invoke
Pas de description
Pas de description
Pas de description
Pas de description
Détails
bool
isCli()
Check if php running env is cli
string
getBasePath()
Get the base path
static Loader
configure(string $base_path)
Configuration Loader
void
pushMiddleware(array $middlewares)
Push middlewares
void
pushNamespaces(array $namespaces)
Push namespaces
array
getMiddlewares()
Middleware collection
array
getNamespaces()
Namespaces collection
array
namespaces()
Get app namespace
array
middlewares()
Middleware collection
array
configurations()
Load services
array
events()
Load events
static Loader
getInstance()
Alias of singleton
Loader
withoutSession()
Define if the configuration going to boot without session manager
Loader
boot()
Load configuration
mixed
__invoke(string $key, mixed $value = null)
__invoke
bool
offsetExists(mixed $offset)
Pas de description
mixed
offsetGet(mixed $offset)
Pas de description
void
offsetSet(mixed $offset, mixed $value)
Pas de description
void
offsetUnset(mixed $offset)
Pas de description