Neevo Public API
  • Namespace
  • Class
  • Tree

Namespaces

  • Neevo
    • Cache
    • Drivers
    • Nette
  • PHP

Classes

  • FileStorage
  • MemcacheStorage
  • MemoryStorage
  • SessionStorage

Interfaces

  • StorageInterface

Class MemoryStorage

Memory cache storage. Default implementation of Neevo\ICache.

Neevo\Cache\MemoryStorage implements Neevo\Cache\StorageInterface
Namespace: Neevo\Cache
Author: Smasty
Located at Neevo/Cache/MemoryStorage.php

Methods summary

public mixed|null
# fetch( string $key )

Fetches stored data.

Fetches stored data.

Parameters

$key
string
$key

Returns

mixed|null
null if not found

Implementation of

Neevo\Cache\StorageInterface::fetch()
public
# store( string $key, mixed $value )

Stores data in cache.

Stores data in cache.

Parameters

$key
string
$key
$value
mixed
$value

Implementation of

Neevo\Cache\StorageInterface::store()
public
# flush( )

Magic methods summary

Neevo Public API API documentation generated by ApiGen 2.8.0