Method |
Description |
|
__construct ( AbstractSerializeController $controller ) |
|
|
addInclude ( string | array $name ) |
Include the given relationship by default. |
|
addOptionalInclude ( string $name ) |
Make the given relationship available for inclusion. |
|
addSortField ( string $field ) |
Allow sorting results by the given field. |
|
isController ( string $controller ) : boolean |
|
|
removeInclude ( string $name ) |
Don't include the given relationship by default. |
|
removeOptionalInclude ( string $name ) |
Don't allow the given relationship to be included. |
|
removeSortField ( string $field ) |
Disallow sorting results by the given field. |
|
setLimit ( integer $limit ) |
Set the default number of results. |
|
setMaxLimit ( integer $max ) |
Set the maximum number of results. |
|
setSerializer ( string $serializer ) |
Set the serializer that will serialize data for the endpoint. |
|
setSort ( array $sort ) |
Set the default sort order for the results. |
|