public function expand(RamlDoc $ramlDoc)
    {
        $ramlDoc->rawRaml = self::applyAllToTree($ramlDoc, $ramlDoc->rawRaml);

        return $this;
    }
public function expand(RamlDoc $ramlDoc)
    {
        $ramlDoc->rawRaml = self::applyAllToTree($ramlDoc, $ramlDoc->rawRaml);

        return $this;
    }
public function expand ( RamlDoc $ ramlDoc ) { $ ramlDoc -> rawRaml = self :: applyAllToTree ( $ ramlDoc , $ ramlDoc -> rawRaml ) ; return $ this ; }
Applies resource types and traits.
@param RamlDoc $ramlDoc
@throws \ErrorException
@see http://raml.org/spec.html#resource-types-and-traits
Applies resource types and traits .