depage-graphics
Loading...
Searching...
No Matches
Optimizer Class Reference

Detailed Description

Definition at line 5 of file Optimizer.php.

Public Member Functions

 __construct ($options=array())
 optimize ($filename)

Protected Member Functions

 execCommand ()

Protected Attributes

 $executable = null
 $command = ''
 $options = array()

Constructor & Destructor Documentation

◆ __construct()

__construct ( $options = array())

Reimplemented in Jpegoptim, Jpegtran, Optipng, and Pngcrush.

Definition at line 11 of file Optimizer.php.

Member Function Documentation

◆ execCommand()

execCommand ( )
protected

Definition at line 16 of file Optimizer.php.

◆ optimize()

optimize ( $filename)

Reimplemented in Jpegoptim, Jpegtran, Optipng, and Pngcrush.

Definition at line 25 of file Optimizer.php.

Field Documentation

◆ $command

$command = ''
protected

Definition at line 8 of file Optimizer.php.

◆ $executable

$executable = null
protected

Definition at line 7 of file Optimizer.php.

◆ $options

$options = array()
protected

Definition at line 9 of file Optimizer.php.


The documentation for this class was generated from the following file: