Response
in package
Table of Contents
Properties
- $format : string
- Format of displayed image
- $image : Image
- Image that should be displayed by response
- $quality : int
- Quality of displayed image
Methods
- __construct() : mixed
- Creates a new instance of response
- make() : mixed
- Builds response according to settings
Properties
$format
Format of displayed image
public
string
$format
$image
Image that should be displayed by response
public
Image
$image
$quality
Quality of displayed image
public
int
$quality
Methods
__construct()
Creates a new instance of response
public
__construct(Image $image[, string $format = null ][, int $quality = null ]) : mixed
Parameters
- $image : Image
- $format : string = null
- $quality : int = null
make()
Builds response according to settings
public
make() : mixed