Property | Type | Description | |
---|---|---|---|
$instance | The instance of the configuration class | ||
$parameters | array | Store parameters |
Method | Description | |
---|---|---|
all ( ) : array | Return all the parameters as an array | |
get ( string $key, $default = null ) : string | Return a parameter based on a key | |
has ( string $key ) : boolean | Check if a parameter exist | |
set ( string $key, mixed $value ) : array | Set a parameter |
Method | Description | |
---|---|---|
__construct ( ) | Process the configuration file into an array | |
locateConfigFile ( ) : string | Locate the right config file and return its name | |
parse ( $filename ) : array | Load configuration files and parse them | |
process ( $filename ) : array | Handle the configuration settings |
protected __construct ( ) |
protected locateConfigFile ( ) : string | ||
return | string |
protected static $instance |