lib/Pico.php
public function getYamlParser()
    {
        if ($this->yamlParser === null) {
            $this->yamlParser = new \Symfony\Component\Yaml\Parser();
            $this->triggerEvent('onYamlParserRegistered', array(&$this->yamlParser));
        }

        return $this->yamlParser;
    }
public function getYamlParser()
    {
        if ($this->yamlParser === null) {
            $this->yamlParser = new \Symfony\Component\Yaml\Parser();
            $this->triggerEvent('onYamlParserRegistered', array(&$this->yamlParser));
        }

        return $this->yamlParser;
    }
public function getYamlParser ( ) { if ( $ this -> yamlParser === null ) { $ this -> yamlParser = new \ Symfony \ Component \ Yaml \ Parser ( ) ; $ this -> triggerEvent ( 'onYamlParserRegistered' , array ( & $ this -> yamlParser ) ) ; } return $ this -> yamlParser ; }
Returns the Symfony YAML parser

This method triggers the `onYamlParserRegistered` event when the Symfony
YAML parser wasn't initiated yet.

@return \Symfony\Component\Yaml\Parser Symfony YAML parser
Returns the Symfony YAML parser