public function parseFromString($ramlString, $rootDir)
    {
        $ramlData = $this->parseRamlString($ramlString, $rootDir);

        return $this->parseRamlData($ramlData, $rootDir);
    }
public function parseFromString($ramlString, $rootDir)
    {
        $ramlData = $this->parseRamlString($ramlString, $rootDir);

        return $this->parseRamlData($ramlData, $rootDir);
    }
public function parseFromString ( $ ramlString , $ rootDir ) { $ ramlData = $ this -> parseRamlString ( $ ramlString , $ rootDir ) ; return $ this -> parseRamlData ( $ ramlData , $ rootDir ) ; }
Parse a RAML spec from a string

@param string $ramlString
@param string $rootDir
@return ApiDefinition
Parse a RAML spec from a string