\IZON\Thumber\ImageCacheImageCache

Description of ImageCache

Summary

Methods
Properties
Constants
__construct()
has()
get()
getPath()
set()
No public properties found
No constants found
getFilePath()
$dir
N/A
No private methods found
No private properties found
N/A

Properties

$dir

$dir : string

Type

string

Methods

__construct()

__construct(string  $dir) 

Parameters

string $dir

has()

has(string  $filename) : boolean

Parameters

string $filename

Returns

boolean

get()

get(string  $filename) : \IZON\IO\Image

Parameters

string $filename

Throws

\IZON\Thumber\Exceptions\ImageNotInCacheException

Returns

\IZON\IO\Image

getPath()

getPath(string  $filename) : string

Parameters

string $filename

Throws

\IZON\Thumber\Exceptions\ImageNotInCacheException

Returns

string

set()

set(string  $filename, \IZON\IO\Image  $image, boolean  $deleteSource = false) 

Parameters

string $filename
\IZON\IO\Image $image
boolean $deleteSource

default false

getFilePath()

getFilePath(  $filename) 

Parameters

$filename