TestStorage
in package
implements
Storable
Class TestStorage
Tags
Table of Contents
Interfaces
- Storable
- Interface Storable
Methods
- getList() : array<string|int, mixed>
- Get list with items.
- persist() : bool
- Persist a item to the storage
- remove() : mixed
- Remove item.
- retrieve() : array<string|int, mixed>
- Retrieve a item from the storage
Methods
getList()
Get list with items.
public
getList() : array<string|int, mixed>
Return values
array<string|int, mixed>persist()
Persist a item to the storage
public
persist( $name, YamlSerializable $data) : bool
Parameters
- $name :
- $data : YamlSerializable
Return values
boolremove()
Remove item.
public
remove( $name) : mixed
Parameters
retrieve()
Retrieve a item from the storage
public
retrieve(string $name) : array<string|int, mixed>
Parameters
- $name : string