class DoctrineCacheDriver extends CacheProvider (View source)

Simple cache driver that enables doctrine to use c5's caching library.

\@package Concrete\Core\Cache

Properties

private Cache $c5Cache
private string $cacheName

Methods

__construct(string $cacheName = 'cache')

No description

getC5Cache()

No description

doFetch($id)

{@inheritdoc}

doContains($id)

{@inheritdoc}

doSave($id, $data, $lifeTime)

{@inheritdoc}

doDelete($id)

{@inheritdoc}

doFlush()

{@inheritdoc}

doGetStats()

{@inheritdoc}

Details

__construct(string $cacheName = 'cache')

Parameters

string $cacheName Name of the cache being used. Defaults to cache.

private Cache getC5Cache()

Return Value

Cache

protected doFetch($id)

{@inheritdoc}

Parameters

$id

protected doContains($id)

{@inheritdoc}

Parameters

$id

protected doSave($id, $data, $lifeTime)

{@inheritdoc}

Parameters

$id
$data
$lifeTime

protected doDelete($id)

{@inheritdoc}

Parameters

$id

protected doFlush()

{@inheritdoc}

protected doGetStats()

{@inheritdoc}