Rundiz\Image

NoOp extends AbstractImagickCommand
in package

No operation.

Usually use for open source image and save as.

Tags
since
3.1.4

Table of Contents

Properties

$ImagickD  : Imagick

Methods

__construct()  : mixed
execute()  : bool
Execute the command.
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

Methods

execute()

Execute the command.

public execute() : bool
Return values
bool

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
since
3.1.4
see
AbstractImage::setErrorMessage()
throws
InvalidArgumentException

Throw the exception if argument type is invalid.

setStatusSuccess()

Set status as success and remove error message, error code.

protected setStatusSuccess() : mixed
Tags
since
3.1.4
see
AbstractImage::setStatusSuccess()

        
On this page

Search results