AbstractCache
public abstract class AbstractCache
www.doctrine-project.org
Method Summary | |
---|---|
void | contains(mixed id) {@inheritdoc} |
void | delete(mixed id) {@inheritdoc} |
array | Delete all cache entries. |
array | deleteByPrefix(string prefix) Delete cache entries where the id has the passed prefix |
array | deleteByRegex(string regex) Delete cache entries where the id matches a PHP regular expressions |
array | deleteBySuffix(string suffix) Delete cache entries where the id has the passed suffix |
void | fetch(mixed id) {@inheritdoc} |
abstract array | getIds() Get an array of all the cache ids stored |
void | save(mixed id, mixed data, mixed lifeTime) {@inheritdoc} |
void | setNamespace(string namespace) Set the namespace to prefix all cache ids with. |
public void contains(mixed id)
public void delete(mixed id)
public array deleteAll()
Delete all cache entries.
public array deleteByPrefix(string prefix)
Delete cache entries where the id has the passed prefix
public array deleteByRegex(string regex)
Delete cache entries where the id matches a PHP regular expressions
public array deleteBySuffix(string suffix)
Delete cache entries where the id has the passed suffix
public void fetch(mixed id)
public abstract array getIds()
Get an array of all the cache ids stored
public void save(mixed id, mixed data, mixed lifeTime)
public void setNamespace(string namespace)
Set the namespace to prefix all cache ids with.
Base class for cache driver implementations.