class Cache

Model for handling cache operations.

Methods

__construct(Database $database, CriteriaFactory $criteriaFactory, Preference $preference, Cache $cache)

Constructor.

bool
flush()

Flush the cache.

Details

at line 42
__construct(Database $database, CriteriaFactory $criteriaFactory, Preference $preference, Cache $cache)

Constructor.

Parameters

Database $database Instance of the Tuskfish database class.
CriteriaFactory $criteriaFactory Instance of the criteria factory class.
Preference $preference Instance of the Tuskfish site preferences class.
Cache $cache Instance of the Tuskfish cache class.

at line 54
bool flush()

Flush the cache.

Return Value

bool True on success, false on failure.