private function _parseYaml($argument, $conf) { if (!class_exists('Horde_Yaml')) { throw new Horde_Push_Exception('The Horde_Yaml package is missing!'); } if (!file_exists($argument)) { throw new Horde_Push_Exception(sprintf('Invalid file path: "%s"!', $argument)); } return $this->_createFromData(Horde_Yaml::loadFile($argument)); }