PHP Zend\Diactoros\Response JsonResponse - 9 примеров найдено. Это лучшие примеры PHP кода для Zend\Diactoros\Response\JsonResponse, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
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.
Наследование:
extendsZend\Diactoros\Response, use traitInjectContentTypeTrait