# \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

File
  Factory/ThumberServiceFactory.php
Package
  Default
Class hierarchy
  \IZON\Thumber\Factory\ThumberServiceFactory

## Tags

author | Lukáš Linhart

## Properties

### $tmpDir

    $tmpDir : string

#### Type

string — temporary directory

#

## Tags

None found

### $rootDir

    $rootDir : string

#### Type

string — root directory

#

## Tags

None found

### $driver

    $driver : string

#### Type

string — driver name

#

## Tags

None found

### $cacheDir

    $cacheDir : string

#### Type

string — cache directory

#

## Tags

None found

### $builderPath

    $builderPath : string

#### Type

string — builder url path

#

## Tags

None found

## 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

#

## Tags

None found

### setDriver()

    setDriver(string  $driver)

set driver for thumbnail service

#### Parameters

string | $driver | driver gd|imagemagick

#

## Tags

None found

### create()

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

create thumbnail service

#### Returns

\IZON\Thumber\Services\ThumbnailService

#

## Tags

None found

### createResizer()

    createResizer() : \IZON\Thumber\ImageResizer\IImageResizer

create resizer for thumbnail service

#### Returns

\IZON\Thumber\ImageResizer\IImageResizer

#

## Tags

None found

### createCache()

    createCache() : \IZON\Thumber\ImageCache\ImageCache

create image cache for thumbnail service

#### Returns

\IZON\Thumber\ImageCache\ImageCache

#

## Tags

None found

### createConvertor()

    createConvertor() : \IZON\Thumber\ImageConverter\IImageConverterFactory

create convertor factory for thumbnail service

#### Returns

\IZON\Thumber\ImageConverter\IImageConverterFactory

#

## Tags

None found

### createURLBuilder()

    createURLBuilder() : \IZON\Thumber\Image\IImageUrlBuilder

create image url builder for thumbnail service

#### Returns

\IZON\Thumber\Image\IImageUrlBuilder

#

## Tags

None found

### ThumberServiceFactory.php