Свойство | Тип | Описание | |
---|---|---|---|
$app | array | The application. |
Свойство | Тип | Описание | |
---|---|---|---|
$_config | array | The config data. |
Метод | Описание | |
---|---|---|
__construct ( array $opts ) | Constructor. | |
count ( ) | ||
getIterator ( ) | ||
offsetExists ( $offset ) | ||
offsetGet ( $offset ) | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) | ||
toArray ( ) : array | Return the array representation of the configuration. |
Метод | Описание | |
---|---|---|
_load ( string $offset ) | Load configuration from config file. |
public __construct ( array $opts ) | ||
$opts | array | Configuration options:
- app: (string) Application. - config: (array) Use this as the configuration. |