/** * @return bool|sfYaml */ protected function getSymfonyYamlParser() { if (!isset(self::$oYaml)) { if ($this->loadSymfonyYamlParser()) { self::$oYaml = new sfYaml(); } else { self::$oYaml = false; } } return self::$oYaml; }