PHP Class Webmozart\KeyValueStore\Decorator\AbstractDecorator

It is used by decorators that need to override only a few specific methods (such as SortableDecorator or CountableDecorator).
Since: 1.0
Author: Bernhard Schussek ([email protected])
Author: Titouan Galopin ([email protected])
Inheritance: implements Webmozart\KeyValueStore\Api\KeyValueStore
Afficher le fichier Open project: webmozart/key-value-store Class Usage Examples

Protected Properties

Свойство Type Description
$store Webmozart\KeyValueStore\Api\KeyValueStore

Méthodes publiques

Méthode Description
__construct ( Webmozart\KeyValueStore\Api\KeyValueStore $store ) Creates the store.
clear ( )
exists ( $key )
get ( $key, $default = null )
getMultiple ( array $keys, $default = null )
getMultipleOrFail ( array $keys )
getOrFail ( $key )
keys ( )
remove ( $key )
set ( $key, $value )

Method Details

__construct() public méthode

Creates the store.
public __construct ( Webmozart\KeyValueStore\Api\KeyValueStore $store )
$store Webmozart\KeyValueStore\Api\KeyValueStore The store to sort.

clear() public méthode

public clear ( )

exists() public méthode

public exists ( $key )

get() public méthode

public get ( $key, $default = null )

getMultiple() public méthode

public getMultiple ( array $keys, $default = null )
$keys array

getMultipleOrFail() public méthode

public getMultipleOrFail ( array $keys )
$keys array

getOrFail() public méthode

public getOrFail ( $key )

keys() public méthode

public keys ( )

remove() public méthode

public remove ( $key )

set() public méthode

public set ( $key, $value )

Property Details

$store protected_oe property

protected KeyValueStore,Webmozart\KeyValueStore\Api $store
Résultat Webmozart\KeyValueStore\Api\KeyValueStore