CakeFest 2024: The Official CakePHP Conference

Yac::get

(PECL yac >= 1.0.0)

Yac::getRetrieve values from cache

Descrição

public Yac::get(string|array $key, int &$cas = null): mixed

Retrieve values from cache

Parâmetros

key

string keys, or array of multiple keys.

cas

if not null, it will be set to the retrieved item's cas.

Valor Retornado

mixed on success, false on failure

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top