sfYamlConfigHandler is a base class for YAML (.yml) configuration handlers. This class
Inheritence
sfSimpleYamlConfigHandler, sfRoutingConfigHandler, sfCompileConfigHandler, sfFactoryConfigHandler, sfCacheConfigHandler, sfRootConfigHandler, sfSecurityConfigHandler, sfPhpConfigHandler, sfFilterConfigHandler, sfAutoloadConfigHandler, sfDefineEnvironmentConfigHandler, sfGeneratorConfigHandler, sfViewConfigHandler, sfValidatorConfigHandler, sfDatabaseConfigHandler <
sfYamlConfigHandler
<
sfConfigHandler
Method Summary
-
string
getConfigValue(, , )
Gets a configuration value for a given key and category.
-
string
mergeConfigValue(, )
Merges configuration values for a given key and category.
-
string
parseYaml()
Parses a YAML (.yml) configuration file.
-
array
parseYamls()
Parses an array of YAMLs files and merges them in one configuration array.
execute , getParameterHolder , initialize , replaceConstants , replacePath
Method Details
-
(string) getConfigValue (, , )
Browse code
Gets a configuration value for a given key and category.
returns The value associated with this key name and category
-
(string) mergeConfigValue (, )
Browse code
Merges configuration values for a given key and category.
returns The value associated with this key name and category
-
Parses a YAML (.yml) configuration file.
returns A parsed .yml configuration
throws sfConfigurationException If a requested configuration file does not exist or is not readable
-
Parses an array of YAMLs files and merges them in one configuration array.
returns A merged configuration array
|