AbstractGdCommand
in package
AbstractYes
Abstract GD command (resize, crop, etc).
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- setErrorMessage() : mixed
- Set error message and code. This will be set statusXxx properties.
- setStatusSuccess() : mixed
- Set status as success and remove error message, error code.
Properties
$Gd
protected
Gd
$Gd
Methods
__construct()
public
__construct(Gd $Gd) : mixed
Parameters
- $Gd : Gd
setErrorMessage()
Set error message and code. This will be set statusXxx properties.
protected
setErrorMessage(string $errorMessage, int $errorCode) : mixed
Parameters
- $errorMessage : string
-
The error message.
- $errorCode : int
-
The error code, usually it is class's constant.
Tags
setStatusSuccess()
Set status as success and remove error message, error code.
protected
setStatusSuccess() : mixed