PHP 클래스 PHPImageOptim\PHPImageOptim

파일 보기 프로젝트 열기: bensquire/php-image-optim 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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