Files
class Files extends Contract
Methods
void
set(string $cacheName, mixed $contents)
Create a new cache files/value
mixed
get(string $cacheName, string $callBack = '')
Get cache value
bool
put(string $cacheName, mixed $contents)
Update cache value
void
destroy(string $cacheName)
Delete cache
void
purge()
Make cache clean as soon as posible
array
getList()
Get cache as list
string
getPath()
Get path or key of cache
bool
isExists(string $cacheName)
No description
__construct(string $directory)
Register all options
Details
at line 34
void
set(string $cacheName, mixed $contents)
Create a new cache files/value
at line 46
mixed
get(string $cacheName, string $callBack = '')
Get cache value
at line 59
bool
put(string $cacheName, mixed $contents)
Update cache value
at line 70
void
destroy(string $cacheName)
Delete cache
at line 80
void
purge()
Make cache clean as soon as posible
at line 102
array
getList()
Get cache as list
at line 92
string
getPath()
Get path or key of cache
at line 110
bool
isExists(string $cacheName)
No description
in
Contract at line 81
string
getError()
No description
at line 22
__construct(string $directory)
Register all options