FOFHalDocument::render
Instantiate and call a suitable renderer class to render this document into the specified format.
Signature
public function render([string
$format = 'json'] )
Parameters
-
$format
- The format to render the document into, e.g. 'json'
Returns
- string
- The rendered document
Errors/Exceptions
-
RuntimeException
- If the format is unknown, i.e. there is no suitable renderer