static public function fromData(string $data)
    {
        $yaml = yaml_parse($data);
        YamlException::importFromData($yaml);
        return $yaml;
    }
static public function fromData(string $data)
    {
        $yaml = yaml_parse($data);
        YamlException::importFromData($yaml);
        return $yaml;
    }
static public function fromData ( string $ data ) { $ yaml = yaml_parse ( $ data ) ; YamlException :: importFromData ( $ yaml ) ; return $ yaml ; }
Parce plain text with YAML inside

@param   string $data - YAML in text format
@return  mixed
@throws  YamlException
Parce plain text with YAML inside