class CreateUserController extends AbstractCreateController
Properties
$serializer | {@inheritdoc} |
|
||
array | $include | The relationships that are included by default. | from AbstractSerializeController |
|
array | $optionalInclude | The relationships that are available to be included. | from AbstractSerializeController |
|
int | $maxLimit | The maximum number of records that can be requested. | from AbstractSerializeController |
|
int | $limit | The number of records included by default. | from AbstractSerializeController |
|
array | $sortFields | The fields that are available to be sorted by. | from AbstractSerializeController |
|
array|null | $sort | The default sort field and order to user. | from AbstractSerializeController |
|
static protected Container | $container | from AbstractSerializeController |
|
|
static protected Dispatcher | $events | from AbstractSerializeController |
|
|
protected Dispatcher | $bus |
|
Methods
ResponseInterface
handle(ServerRequestInterface $request)
{@inheritdoc}
mixed
data(ServerRequestInterface $request, Document $document)
Get the data to be serialized and assigned to the response document.
ElementInterface
createElement(mixed $data, SerializerInterface $serializer)
Create a PHP JSON-API Element for output in the document.
array
extractInclude(ServerRequestInterface $request)
No description
array
extractFields(ServerRequestInterface $request)
No description
array|null
extractSort(ServerRequestInterface $request)
No description
array
extractFilter(ServerRequestInterface $request)
No description
Parameters
buildParameters(ServerRequestInterface $request)
No description
Details
ResponseInterface
handle(ServerRequestInterface $request)
{@inheritdoc}
at
line 42
protected mixed
data(ServerRequestInterface $request, Document $document)
Get the data to be serialized and assigned to the response document.
protected ElementInterface
createElement(mixed $data, SerializerInterface $serializer)
Create a PHP JSON-API Element for output in the document.