Library
extends Injectable
in package
Manage internal library access and includes
Table of Contents
- get() : void
- Include the config type file of each librariries
- loadDir() : void
- Load some directories
- loadNamespaces() : void
- Load some namespaces
Methods
get()
Include the config type file of each librariries
public
static get(string $type, Config $config, mixed &$object) : void
Parameters
- $type : string
-
Name of the type [loader|route]
- $config : Config
-
Config instance
- $object : mixed
-
instance
Return values
void —loadDir()
Load some directories
public
static loadDir(array<string|int, mixed> $paths) : void
Parameters
- $paths : array<string|int, mixed>
-
Paths to include
Return values
void —loadNamespaces()
Load some namespaces
public
static loadNamespaces(array<string|int, mixed> $namespaces) : void
Parameters
- $namespaces : array<string|int, mixed>
-
Namespaces to include