SQLiteStorage
class SQLiteStorage extends Object implements IStorage
SQLite storage.
Methods
__construct($path = ':memory:')
No description
mixed|null
read($key)
Read from cache.
void
lock($key)
Prevents item reading and writing. Lock is released by write() or remove().
void
write($key, $data, array $dependencies)
Writes item into the cache.
void
remove($key)
Removes item from the cache.
void
clean(array $conditions)
Removes items from the cache by conditions & garbage collector.
Details
at line 25
__construct($path = ':memory:')
No description
at line 50
mixed|null
read($key)
Read from cache.
at line 65
void
lock($key)
Prevents item reading and writing. Lock is released by write() or remove().
at line 77
void
write($key, $data, array $dependencies)
Writes item into the cache.
at line 100
void
remove($key)
Removes item from the cache.
at line 112
void
clean(array $conditions)
Removes items from the cache by conditions & garbage collector.