ResponseHandler
in package
implements
ResponseHandlerInterface
PHP Mini Framework
Tags
Interfaces, Classes, Traits and Enums
- ResponseHandlerInterface
- PHP Mini Framework
Table of Contents
- $data : mixed
- $format : mixed
- $version : mixed
- __construct() : mixed
- handle() : ResponseInterface
Properties
$data
private
mixed
$data
Tags
$format
private
mixed
$format
= ResponseFormat::JSON
Tags
$version
private
mixed
$version
= '1.1'
Tags
Methods
__construct()
public
__construct(mixed $data[, mixed $version = '1.1' ][, mixed $format = ResponseFormat::JSON ]) : mixed
Parameters
- $data : mixed
- $version : mixed = '1.1'
- $format : mixed = ResponseFormat::JSON
Tags
Return values
mixed —handle()
public
handle() : ResponseInterface