public function loadYmlData($yml)
    {
        $searchEngines = \Spyc::YAMLLoadString($yml);

        $this->definitionList = $this->transformData($searchEngines);

        return $this->definitionList;
    }
public function loadYmlData($yml)
    {
        $searchEngines = \Spyc::YAMLLoadString($yml);

        $this->definitionList = $this->transformData($searchEngines);

        return $this->definitionList;
    }
public function loadYmlData ( $ yml ) { $ searchEngines = \ Spyc :: YAMLLoadString ( $ yml ) ; $ this -> definitionList = $ this -> transformData ( $ searchEngines ) ; return $ this -> definitionList ; }
Parses the given YML string and caches the resulting definitions

@param string $yml
@return array
Parses the given YML string and caches the resulting definitions