ICanBoogie/Storage 2.1.x
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Storage
      • Codec
      • Storage

Classes

  • APCStorage
  • CacheCollection
  • FileStorage
  • FileStorageIterator
  • RedisStorage
  • RunTimeStorage
  • StorageCollection

Interfaces

  • Cache
  • Codec
  • Storage

Interface Cache

An interface for classes implementing cache capabilities.

ICanBoogie\Storage\Cache implements IteratorAggregate

Direct known implementers

ICanBoogie\Storage\CacheCollection, ICanBoogie\Storage\Storage

Indirect known implementers

ICanBoogie\Storage\APCStorage, ICanBoogie\Storage\FileStorage, ICanBoogie\Storage\RedisStorage, ICanBoogie\Storage\RunTimeStorage, ICanBoogie\Storage\StorageCollection

Namespace: ICanBoogie\Storage
Located at Cache.php

Methods summary

public boolean
# exists( $key )

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 mixed|null
# retrieve( string $key )

Retrieves a value.

Retrieves a value.

Parameters

$key
The key of the value.

Returns

mixed|null
The value associated with the key, or null if the key doesn't exists.
public Iterator
# getIterator( )

Returns

Iterator

Inheritdoc

Implementation of

IteratorAggregate::getIterator()
ICanBoogie/Storage 2.1.x API documentation generated by ApiGen