Свойство | Тип | Описание | |
---|---|---|---|
$_document | The document to render |
Метод | Описание | |
---|---|---|
__construct ( |
Public constructor | |
render ( array $options = [] ) : string | Render a HAL document in JSON format |
Метод | Описание | |
---|---|---|
_getLink ( |
Converts a FOFHalLink object into a stdClass object which will be used for JSON serialisation |
public __construct ( |
||
$document |
protected _getLink ( |
||
$link | The link you want converted | |
Результат | stdClass | The converted link object |