Property | Type | Description | |
---|---|---|---|
$chainedCommands | |||
$imagePath |
Method | Description | |
---|---|---|
chainCommand ( $object ) | Adds a command to perform optimisation against | |
optimise ( ) : boolean | Starts the optimisation process | |
setImage ( string $imagePath = '' ) | Sets the path of the image we want to minify |
public chainCommand ( $object ) | ||
$object |