getYamlDecoder() public method

Get callback for decoding YAML
public getYamlDecoder ( ) : callable
return callable
 public function testHonorsOptionsProvidedToConstructor()
 {
     $config = new Zend_Config_Yaml($this->_iniFileAllSectionsConfig, 'debug', array('allow_modifications' => true, 'skip_extends' => true, 'yaml_decoder' => array($this, 'yamlDecoder'), 'foo' => 'bar'));
     $this->assertNull($config->name);
     // verifies extends were skipped
     $config->foo = 'bar';
     $this->assertEquals('bar', $config->foo);
     // verifies allows modifications
     $this->assertEquals(array($this, 'yamlDecoder'), $config->getYamlDecoder());
 }