Made YamlConfig compatible with symfony/yaml 2.3