Method Summary
-
string
execute($configFiles)
Executes this configuration handler.
-
string
fixCategoryName($category, $prefix)
Fixes the category name.
-
getValues($prefix, $category, $keys, 3)
Gets values from the configuration array.
-
fixCategoryValue($category, $key, $value, 3)
Fixes the category name and replaces constants in the value.
-
mergeEnvironment($config, 1)
Merges default, all and current environment configurations.
parseYaml , parseYamls , getConfigValue , mergeConfigValue
execute , initialize , replaceConstants , replacePath , getParameterHolder
Method Details
-
(string) execute ($configFiles)
| $configFiles |
An absolute filesystem path to a configuration file |
Executes this configuration handler.
returns Data to be written to a cache file
throws sfParseException If a requested configuration file is improperly formatted
-
(string) fixCategoryName ($category, $prefix)
| $category |
The category name |
| $prefix |
The prefix |
Fixes the category name.
returns The fixed category name
-
getValues ($prefix, $category, $keys, 3)
| $prefix |
The prefix name |
| $category |
The category name |
| $keys |
The key/value array |
| 3 |
The new key/value array |
Gets values from the configuration array.
-
fixCategoryValue ($category, $key, $value, 3)
| $category |
The category name |
| $key |
The key name |
| $value |
The value |
| 3 |
Return the new key and value |
Fixes the category name and replaces constants in the value.
-
mergeEnvironment ($config, 1)
| $config |
The main configuratino array |
| 1 |
The merged configuration |
Merges default, all and current environment configurations.
|