Documentation

CacheTrait

An implementation of CacheInterface for PSR-6 CacheItemPoolInterface classes.

Tags
author

Nicolas Grekas p@tchwork.com

Table of Contents

delete()  : bool
{@inheritdoc}
get()  : mixed
{@inheritdoc}
doGet()  : mixed

Methods

delete()

{@inheritdoc}

public delete(string $key) : bool
Parameters
$key : string
Return values
bool

get()

{@inheritdoc}

public get(string $key, callable $callback[, float|null $beta = null ][, array<string|int, mixed>|null &$metadata = null ]) : mixed
Parameters
$key : string
$callback : callable
$beta : float|null = null
$metadata : array<string|int, mixed>|null = null
Return values
mixed

Search results