W3cubDocs

/Symfony 4.1

DoctrineProvider

class DoctrineProvider extends CacheProvider implements PruneableInterface, ResettableInterface

Methods

__construct(CacheItemPoolInterface $pool)
bool prune()
reset()
doFetch($id)

{@inheritdoc}

doContains($id)

{@inheritdoc}

doSave($id, $data, $lifeTime = 0)

{@inheritdoc}

doDelete($id)

{@inheritdoc}

doFlush()

{@inheritdoc}

doGetStats()

{@inheritdoc}

Details

__construct(CacheItemPoolInterface $pool)

Parameters

CacheItemPoolInterface $pool

bool prune()

Return Value

bool

reset()

protected doFetch($id)

{@inheritdoc}

Parameters

$id

protected doContains($id)

{@inheritdoc}

Parameters

$id

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

{@inheritdoc}

Parameters

$id
$data
$lifeTime

protected doDelete($id)

{@inheritdoc}

Parameters

$id

protected doFlush()

{@inheritdoc}

protected doGetStats()

{@inheritdoc}

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Cache/DoctrineProvider.html