ImageResizeTask
in package
implements
TaskInterface
FinalYes
Task that instructs worker to resize an image file.
Table of Contents
Interfaces
- TaskInterface
- Marker interface for messages/tasks that can be dispatched.
Properties
- $destPath : string
- $height : int
- $quality : int
- $sourcePath : string
- $width : int
Methods
- __construct() : mixed
Properties
$destPath read-only
public
string
$destPath
$height read-only
public
int
$height
$quality read-only
public
int
$quality
= 90
$sourcePath read-only
public
string
$sourcePath
$width read-only
public
int
$width
Methods
__construct()
public
__construct(string $sourcePath, string $destPath, int $width, int $height[, int $quality = 90 ]) : mixed
Parameters
- $sourcePath : string
- $destPath : string
- $width : int
- $height : int
- $quality : int = 90