SlaxWeb\Config\PhpHandler::load |
( |
string |
$config, |
|
|
bool |
$prependResourceName = false |
|
) |
| |
Load the Config File
Check if the file exists, load it, and parse the containing array into the the internal container array. Return 'CONFIG_LOADED' constant on success. If the file is not found, return 'CONFIG_RESOURCE_NOT_FOUND' constant, and 'CONFIG_PARSE_ERROR' if the contants could not have been parsed.
- Parameters
-
string | $config | Path to the config resource |
bool | $prependResourceName | If the resource name should be prepended to each config key |
- Returns
- int
The documentation for this class was generated from the following file:
- /opt/slax0rDev/slaxweb/config/src/PhpHandler.php