ContentApiResponse represents all responses from the API.
- Class name: ContentApiResponse
- Namespace: DieSchittigs\ContaoContentApiBundle
- Parent class: Symfony\Component\HttpFoundation\JsonResponse
mixed DieSchittigs\ContaoContentApiBundle\ContentApiResponse::__construct(mixed $data, integer $status, array $headers)
constructor.
- Visibility: public
- $data mixed - <p>any data (object, array, or ContaoJson)</p>
- $status integer - <p>Status code</p>
- $headers array - <p>Additional headers</p>