Loader
class Loader implements ArrayAccess (View source)
Properties
| static protected Loader | $instance | ||
| protected Arraydotify | $config | ||
| protected string | $base_path | ||
| protected string | $config_path | ||
| protected bool | $booted |
Methods
Check if php running env is cli
Get the base path
Get the base path
Set the configuration path
Middleware collection
Middleware collection
Namespaces collection
Get app namespace
Define if the configuration going to boot without session manager
Load services
Alias of singleton
Load events
No description
No description
No description
No description
__invoke
Details
static Loader
configure(string $base_path)
Configuration Loader
bool
isCli()
Check if php running env is cli
string
getPath(string $filename)
Get the base path
string
getBasePath()
Get the base path
Loader
withConfigPath(string $path)
Set the configuration path
array
getMiddlewares()
Middleware collection
array
middlewares()
Middleware collection
array
getNamespaces()
Namespaces collection
array
namespaces()
Get app namespace
Loader
withoutSession()
Define if the configuration going to boot without session manager
Loader
boot()
Load configuration
array
configurations()
Load services
static Loader
getInstance()
Alias of singleton
array
events()
Load events
bool
offsetExists(mixed $offset)
No description
mixed
offsetGet(mixed $offset)
No description
void
offsetSet(mixed $offset, mixed $value)
No description
void
offsetUnset(mixed $offset)
No description
mixed
__invoke(string $key, mixed $value = null)
__invoke