Interface Cache
An interface for classes implementing cache capabilities.
Methods summary
public
boolean
|
#
exists( $key )
Checks if a key exists in a storage.
Checks if a key exists in a storage.
Parameters
Returns
boolean
true if the key exists, false otherwise.
|
public
mixed
|
#
retrieve( string $key )
Retrieves a value.
Parameters
- $key
- The key of the value.
Returns
mixed
|