AbstractImagickCommand
in package
Abstract Imagick 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
$ImagickD
protected
Imagick
$ImagickD
The Imagick driver class.
Methods
__construct()
public
__construct(Imagick $Imagick) : mixed
Parameters
- $Imagick : Imagick
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