Loader
class Loader implements ArrayAccess (View source)
Properties
static protected Loader | $instance | ||
protected Arraydotify | $config | ||
protected string | $base_path | ||
protected bool | $booted |
Methods
pushMiddleware(array $middlewares)
Push middlewares
array
getMiddlewares()
Middleware collection
array
namespaces()
Get app namespace
array
middlewares()
Middleware collection
array
configurations()
Load serivces
static Loader
getInstance()
Alias de singleton
mixed
__invoke($key, null $value = null)
__invoke
offsetExists($offset)
No description
offsetGet($offset)
No description
offsetSet($offset, $value)
No description
offsetUnset($offset)
No description
Details
static Loader
configure(string $base_path)
takeInstance singleton
pushMiddleware(array $middlewares)
Push middlewares
array
getMiddlewares()
Middleware collection
array
namespaces()
Get app namespace
array
middlewares()
Middleware collection
array
configurations()
Load serivces
static Loader
getInstance()
Alias de singleton
Loader
boot()
Load configuration
mixed
__invoke($key, null $value = null)
__invoke
offsetExists($offset)
No description
offsetGet($offset)
No description
offsetSet($offset, $value)
No description
offsetUnset($offset)
No description