PHP Интерфейс ManaPHP\StoreInterface

Показать файл Открыть проект

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

Метод Описание
delete ( string $key ) Deletes a value with the specified id from store
exists ( string $key ) : boolean Checks whether a specified key exists in the store.
get ( string $key ) : mixed | false Retrieves a value from store with a specified key.
set ( string $key, mixed $value ) : void Stores a value identified by a key into store.

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

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

Deletes a value with the specified id from store
public delete ( string $key )
$key string

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

Checks whether a specified key exists in the store.
public exists ( string $key ) : boolean
$key string
Результат boolean

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

Retrieves a value from store with a specified key.
public get ( string $key ) : mixed | false
$key string
Результат mixed | false

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

Stores a value identified by a key into store.
public set ( string $key, mixed $value ) : void
$key string
$value mixed
Результат void