class Loader implements ArrayAccess (View source)

Properties

static protected Loader $instance
protected Arraydotify $config
protected string $base_path
protected bool $booted

Methods

static 
configure($base_path)

Configuration Loader

pushMiddleware(array $middlewares)

Push middlewares

array
getMiddlewares()

Middleware collection

array
namespaces()

Get app namespace

array
middlewares()

Middleware collection

array
configurations()

Load services

static 
getInstance()

Alias of singleton

void
withoutSession()

Define if the configuration going to boot without session manager

boot()

Load configuration

mixed
__invoke(mixed $key, null $value = null)

__invoke

offsetExists($offset)

No description

offsetGet($offset)

No description

offsetSet($offset, $value)

No description

offsetUnset($offset)

No description

Details

static configure($base_path)

Configuration Loader

Parameters

$base_path

pushMiddleware(array $middlewares)

Push middlewares

Parameters

array $middlewares

array getMiddlewares()

Middleware collection

Return Value

array

array namespaces()

Get app namespace

Return Value

array

array middlewares()

Middleware collection

Return Value

array

array configurations()

Load services

Return Value

array

static getInstance()

Alias of singleton

void withoutSession()

Define if the configuration going to boot without session manager

Return Value

void

Loader boot()

Load configuration

Return Value

Loader

mixed __invoke(mixed $key, null $value = null)

__invoke

Parameters

mixed $key
null $value

Return Value

mixed

offsetExists($offset)

No description

Parameters

$offset

offsetGet($offset)

No description

Parameters

$offset

offsetSet($offset, $value)

No description

Parameters

$offset
$value

offsetUnset($offset)

No description

Parameters

$offset