\ImageOptimiserService
Class ImageOptimiserService
Synopsis
class ImageOptimiserService
implements
ImageOptimiserInterface
{
- // methods
- public void __construct()
- public void setLogger()
- public mixed|void optimiseImage()
- protected bool|string getImageType()
- protected array getCommands()
- private Process execCommand()
Hierarchy
Implements
Members
protected
- $config — Config_ForClass
- $logger — Psr\Log\LoggerInterface
Methods
private
- execCommand() — Executes the specified command
protected
- getCommands() — Gets all enabled commands for the file and type of image
- getImageType() — Returns a text version of IMAGETYPE_* constants