메소드 |
설명 |
|
all ( ) : array |
Get all of the items stored in the repository. |
|
forget ( string $key ) : boolean |
Remove an item from the repository. |
|
get ( string $key, mixed $default = null ) : mixed |
Retrieve an item from the repository by key. |
|
has ( string $key ) : boolean |
Determine if an item exists in the repository. |
|
offsetExists ( string $key ) : boolean |
Determine if the given option option exists. |
|
offsetGet ( string $key ) : mixed |
Get a option option. |
|
offsetSet ( string $key, mixed $value ) : void |
Set a option option. |
|
offsetUnset ( string $key ) : void |
Unset a option option. |
|
push ( mixed $item ) : void |
Push an item into the repository. |
|
remember ( string $key, Closure $callback ) : mixed |
Get an item from the repository, or store the default value. |
|
set ( array | string $key, mixed $value = null ) : void |
Set a given option value. |
|