Property | Type | Description | |
---|---|---|---|
$providers | array | Service Providers. |
Method | Description | |
---|---|---|
__construct ( array $config ) | Application constructor. | |
__get ( string $id ) : mixed | Magic get access. | |
__set ( string $id, mixed $value ) | Magic set access. | |
addProvider ( string $provider ) : |
Add a provider. | |
getProviders ( ) : array | Return all providers. | |
setProviders ( array $providers ) | Set providers. |
Method | Description | |
---|---|---|
initializeLogger ( ) | Initialize logger. | |
registerBase ( ) | Register basic providers. | |
registerProviders ( ) | Register providers. |
public __construct ( array $config ) | ||
$config | array |
public addProvider ( string $provider ) : |
||
$provider | string | |
return |
public setProviders ( array $providers ) | ||
$providers | array |