class JsonApiResponse extends JsonResponse

Methods

__construct(Document $document, $status = 200, array $headers = [], $encodingOptions = 15)

{@inheritdoc}

Details

__construct(Document $document, $status = 200, array $headers = [], $encodingOptions = 15)

{@inheritdoc}

Parameters

Document $document
$status
array $headers
$encodingOptions