ICanBoogie/Storage 2.1.x
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Storage
      • Codec
      • Storage

Traits

  • ArrayAccess
  • ClearWithIterator

Trait ArrayAccess

A trait for storage implementing \ArrayAccess.

Direct Known Users

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

Namespace: ICanBoogie\Storage\Storage
Package: ICanBoogie\Storage
Located at Storage/ArrayAccess.php

Methods summary

abstract public
# store( $key, $value, $ttl = null )
abstract public
# retrieve( $key )
abstract public
# exists( $key )
abstract public
# eliminate( $key )
public
# offsetSet( string $key, mixed $value )

Alias to ICanBoogie\Storage\Storage\ArrayAccess::store().

Alias to ICanBoogie\Storage\Storage\ArrayAccess::store().

Parameters

$key
$value
public boolean
# offsetExists( string $key )

Alias to ICanBoogie\Storage\Storage\ArrayAccess::exists().

Alias to ICanBoogie\Storage\Storage\ArrayAccess::exists().

Parameters

$key

Returns

boolean
public
# offsetUnset( string $key )

Alias to ICanBoogie\Storage\Storage\ArrayAccess::eliminate().

Alias to ICanBoogie\Storage\Storage\ArrayAccess::eliminate().

Parameters

$key
public mixed
# offsetGet( string $key )

Alias to ICanBoogie\Storage\Storage\ArrayAccess::retrieve().

Alias to ICanBoogie\Storage\Storage\ArrayAccess::retrieve().

Parameters

$key

Returns

mixed
ICanBoogie/Storage 2.1.x API documentation generated by ApiGen