PHP Класс PHPImageOptim\PHPImageOptim

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$chainedCommands
$imagePath

Открытые методы

Метод Описание
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

Описание методов

chainCommand() публичный метод

Adds a command to perform optimisation against
public chainCommand ( $object )
$object

optimise() публичный метод

Starts the optimisation process
public optimise ( ) : boolean
Результат boolean

setImage() публичный метод

Sets the path of the image we want to minify
public setImage ( string $imagePath = '' )
$imagePath string

Описание свойств

$chainedCommands защищенное свойство

protected $chainedCommands

$imagePath защищенное свойство

protected $imagePath