ResponseData
in package
Class ResponseData
Tags
Table of Contents
Properties
- $baseUrl : string
- $custom : bool
- $request : RequestInterface
- $response : ResponseInterface
- $responseArray : array<int|string, mixed>
- $responseModel : ResponseInterface
- $type : string
Methods
- __construct() : mixed
- ResponseData constructor.
Properties
$baseUrl
public
string
$baseUrl
$custom
public
bool
$custom
$request
public
RequestInterface
$request
$response
public
ResponseInterface
$response
$responseArray
public
array<int|string, mixed>
$responseArray
$responseModel
public
ResponseInterface
$responseModel
$type
public
string
$type
Methods
__construct()
ResponseData constructor.
public
__construct(string $baseUrl, RequestInterface $request, ResponseInterface $response, string $type[, bool $custom = false ]) : mixed
Parameters
- $baseUrl : string
- $request : RequestInterface
- $response : ResponseInterface
- $type : string
- $custom : bool = false