PHP Интерфейс Jarves\Cache\Backend\CacheInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
configure ( Cache $cacheConfig )
delete ( string $key ) Deletes data for a key.
get ( string $key ) : mixed Gets the data for a key.
set ( string $key, mixed $value, integer $timeout = null ) : boolean Sets data for a key with a timeout.

Описание методов

configure() публичный Метод

public configure ( Cache $cacheConfig )
$cacheConfig Jarves\Configuration\Cache

delete() публичный Метод

Deletes data for a key.
public delete ( string $key )
$key string

get() публичный Метод

Gets the data for a key.
public get ( string $key ) : mixed
$key string
Результат mixed

set() публичный Метод

Sets data for a key with a timeout.
public set ( string $key, mixed $value, integer $timeout = null ) : boolean
$key string
$value mixed
$timeout integer
Результат boolean