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

Class CacheCollection

A collection of ICanBoogie\Storage\Cache instances.

ICanBoogie\Storage\CacheCollection implements ICanBoogie\Storage\Cache

Direct known subclasses

ICanBoogie\Storage\StorageCollection

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

Methods summary

public __construct( array $collection )
public exists( $key ) : boolean

Parameters

$key

Returns

boolean
true if the key exists, false otherwise.

Inheritdoc

Implementation of

ICanBoogie\Storage\Cache::exists()
public retrieve( string $key ) : mixed

Parameters

$key
The key of the value.

Returns

mixed

Inheritdoc

Implementation of

ICanBoogie\Storage\Cache::retrieve()

Properties summary

protected $collection : ICanBoogie\Storage\Cache[]
[]
Storage v1.1.1 – Check on GitHub – API documentation generated by ApiGen