Overview

Namespaces

  • Neevo
    • Cache
    • Drivers
    • Nette
  • PHP

Classes

  • CacheAdapter
  • DebugPanel
  • Factory
  • Overview
  • Namespace
  • Class
  • Tree

Class CacheAdapter

Cache adapter for Nette Framework cache storage system.

Neevo\Nette\CacheAdapter implements Neevo\ICache
Namespace: Neevo\Nette
Author: Smasty
Located at Neevo/Nette/CacheAdapter.php
Methods summary
public
# __construct( Nette\Caching\IStorage $storage )

Create the cache adapter.

Create the cache adapter.

Parameters

$storage
Nette\Caching\IStorage
public mixed|null
# fetch( string $key )

Fetch stored data.

Fetch stored data.

Parameters

$key
string

Returns

mixed|null
null if not found

Implementation of

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

Store data in cache.

Store data in cache.

Parameters

$key
string
$value
mixed

Implementation of

Neevo\ICache::store
public
# flush( )
Properties summary
public static string $cacheKey 'Neevo.Cache'
#
Neevo Public API API documentation generated by ApiGen 2.6.1