PHP Zend\Diactoros\Response JsonResponse - 9 examples found. These are the top rated real world PHP examples of Zend\Diactoros\Response\JsonResponse extracted from open source projects. You can rate examples to help us improve the quality of examples.
Allows creating a response by passing data to the constructor; by default,
serializes the data to JSON, sets a status code of 200 and sets the
Content-Type header to application/json.
Inheritance:
extendsZend\Diactoros\Response, use traitInjectContentTypeTrait