equal
deleted
inserted
replaced
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Config |
16 * @package Zend_Config |
17 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
17 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @version $Id: Yaml.php 23294 2010-11-05 00:27:34Z ramon $ |
19 * @version $Id: Yaml.php 23650 2011-01-21 21:32:57Z mikaelkael $ |
20 */ |
20 */ |
21 |
21 |
22 /** |
22 /** |
23 * @see Zend_Config_Writer |
23 * @see Zend_Config_Writer |
24 */ |
24 */ |
55 } |
55 } |
56 |
56 |
57 /** |
57 /** |
58 * Set callback for decoding YAML |
58 * Set callback for decoding YAML |
59 * |
59 * |
60 * @param $yamlEncoder the decoder to set |
60 * @param callable $yamlEncoder the decoder to set |
61 * @return Zend_Config_Yaml |
61 * @return Zend_Config_Yaml |
62 */ |
62 */ |
63 public function setYamlEncoder($yamlEncoder) |
63 public function setYamlEncoder($yamlEncoder) |
64 { |
64 { |
65 if (!is_callable($yamlEncoder)) { |
65 if (!is_callable($yamlEncoder)) { |