Метод |
Описание |
|
all ( ) : array |
Get all values from the store. |
|
allStartingWith ( string $startingWith = '' ) : array |
Get all keys starting with a given string from the store. |
|
count ( ) : integer |
Count elements. |
|
decrement ( string $name, integer $by = 1 ) : integer | null | string |
Decrement a value from the store. |
|
flush ( ) |
Flush all values from the store. |
|
flushStartingWith ( string $startingWith = '' ) |
Flush all values which keys start with a given string. |
|
forget ( string $key ) |
Forget a value from the store. |
|
get ( string $name, $default = null ) : null | string |
Get a value from the store. |
|
has ( string $name ) : boolean |
*
Determine if the store has a value for the given name. |
|
increment ( string $name, integer $by = 1 ) : integer | null | string |
Increment a value from the store. |
|
make ( string $fileName ) |
|
|
offsetExists ( mixed $offset ) : boolean |
Whether a offset exists. |
|
offsetGet ( mixed $offset ) : mixed |
Offset to retrieve. |
|
offsetSet ( mixed $offset, mixed $value ) |
Offset to set. |
|
offsetUnset ( mixed $offset ) |
Offset to unset. |
|
pull ( string $name ) : null | string |
Get and forget a value from the store. |
|
push ( string $name, $pushValue ) |
Push a new value into an array. |
|
put ( string | array $name, string | integer | null $value = null ) |
Put a value in the store. |
|