\CacheFsCore

Summary

Methods
Properties
Constants
flush()
deleteCacheDirectory()
createCacheDirectories()
No public properties found
No constants found
__construct()
_set()
_get()
_exists()
_delete()
_writeKeys()
getFilename()
$depth
N/A
No private methods found
No private properties found
N/A

Properties

$depth

$depth : integer

Type

integer — Number of subfolders to dispatch cached filenames

Methods

flush()

flush() 

deleteCacheDirectory()

deleteCacheDirectory() 

Delete cache directory

createCacheDirectories()

createCacheDirectories(integer  $level_depth, string  $directory = false) 

Create cache directory

Parameters

integer $level_depth
string $directory

__construct()

__construct() 

_set()

_set(  $key,   $value,   $ttl) 

Parameters

$key
$value
$ttl

_get()

_get(  $key) 

Parameters

$key

_exists()

_exists(  $key) 

Parameters

$key

_delete()

_delete(  $key) 

Parameters

$key

_writeKeys()

_writeKeys() 

getFilename()

getFilename(string  $key) : string

Transform a key into its absolute path

Parameters

string $key

Returns

string