\IZON\Thumber\FactoryThumberServiceFactory

Description of ThumberServiceFactory create thumber service

Summary

Methods
Properties
Constants
__construct()
setDriver()
create()
No public properties found
No constants found
createResizer()
createCache()
createConvertor()
createURLBuilder()
$tmpDir
$rootDir
$driver
$cacheDir
$builderPath
N/A
No private methods found
No private properties found
N/A

Properties

$tmpDir

$tmpDir : string

Type

string — temporary directory

$rootDir

$rootDir : string

Type

string — root directory

$driver

$driver : string

Type

string — driver name

$cacheDir

$cacheDir : string

Type

string — cache directory

$builderPath

$builderPath : string

Type

string — builder url path

Methods

__construct()

__construct(string  $rootDir, string  $tmpDir, string  $cacheDir, string  $builderPath) 

factory construtor

Parameters

string $rootDir

root directory

string $tmpDir

tmp directory

string $cacheDir

cache diretory

string $builderPath

url path for builder

setDriver()

setDriver(string  $driver) 

set driver for thumbnail service

Parameters

string $driver

driver gd|imagemagick

create()

create() : \IZON\Thumber\Services\ThumbnailService

create thumbnail service

Returns

\IZON\Thumber\Services\ThumbnailService