Img implements Errorable
Table of Contents
Interfaces
- Errorable
Constants
- TYPE_LIST = ['green', 'yellow', 'red', 'unknown']
Methods
- __construct() : mixed
- getErrorByCode() : mixed
- getErrors() : array<string|int, Error>
- Getting array of errors.
- getImage() : mixed
- getImagePartsPath() : mixed
- getImageSupport() : mixed
Constants
TYPE_LIST
public
mixed
TYPE_LIST
= ['green', 'yellow', 'red', 'unknown']
Methods
__construct()
public
__construct() : mixed
getErrorByCode()
public
getErrorByCode(mixed $code) : mixed
Parameters
- $code : mixed
getErrors()
Getting array of errors.
public
getErrors() : array<string|int, Error>
Return values
array<string|int, Error>getImage()
public
getImage([array<string|int, mixed> $params = [] ]) : mixed
Parameters
- $params : array<string|int, mixed> = []
getImagePartsPath()
public
getImagePartsPath() : mixed
getImageSupport()
public
getImageSupport([mixed $checkSSL = true ]) : mixed
Parameters
- $checkSSL : mixed = true