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

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

withoutSession()

Define if the configuration going to boot without session manager

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

Détails

bool isCli()

Check if php running env is cli

Valeur de retour

bool

string getBasePath()

Get the base path

Valeur de retour

string

static Loader configure(string $base_path)

Configuration Loader

Paramètres

string $base_path

Valeur de retour

Loader

Exceptions

void pushMiddleware(array $middlewares)

Push middlewares

Paramètres

array $middlewares

Valeur de retour

void

void pushNamespaces(array $namespaces)

Push namespaces

Paramètres

array $namespaces

Valeur de retour

void

array getMiddlewares()

Middleware collection

Valeur de retour

array

array getNamespaces()

Namespaces collection

Valeur de retour

array

array namespaces()

Get app namespace

Valeur de retour

array

array middlewares()

Middleware collection

Valeur de retour

array

array configurations()

Load services

Valeur de retour

array

array events()

Load events

Valeur de retour

array

static Loader getInstance()

Alias of singleton

Valeur de retour

Loader

Exceptions

ApplicationException

Loader withoutSession()

Define if the configuration going to boot without session manager

Valeur de retour

Loader

Loader boot()

Load configuration

Valeur de retour

Loader

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

__invoke

Paramètres

string $key
mixed $value

Valeur de retour

mixed

bool offsetExists(mixed $offset)

Pas de description

Paramètres

mixed $offset

Valeur de retour

bool

mixed offsetGet(mixed $offset)

Pas de description

Paramètres

mixed $offset

Valeur de retour

mixed

void offsetSet(mixed $offset, mixed $value)

Pas de description

Paramètres

mixed $offset
mixed $value

Valeur de retour

void

void offsetUnset(mixed $offset)

Pas de description

Paramètres

mixed $offset

Valeur de retour

void