ICanBoogie
  • Documentation
  • API Reference
  • Storage v1.1.1
Namespaces
  • ICanBoogie
    • Storage
Classes
  • APCStorage
  • CacheCollection
  • FileStorage
  • FileStorageIterator
  • RedisStorage
  • RunTimeStorage
  • StorageCollection
Interfaces
  • Cache
  • Storage
Traits
  • ArrayAccessTrait

Interface Cache

An interface for classes implementing cache capabilities.

Direct known implementers

ICanBoogie\Storage\CacheCollection

Indirect known implementers

ICanBoogie\Storage\StorageCollection

Namespace: ICanBoogie\Storage
Package: ICanBoogie\Storage
Located at Cache.php

Methods summary

public exists( $key ) : boolean

Checks if a key exists in a storage.

Checks if a key exists in a storage.

Parameters

$key

Returns

boolean
true if the key exists, false otherwise.
public retrieve( string $key ) : mixed

Retrieves a value.

Retrieves a value.

Parameters

$key
The key of the value.

Returns

mixed
Storage v1.1.1 – Check on GitHub – API documentation generated by ApiGen