Neevo Public API
  • Namespace
  • Class
  • Tree

Namespaces

  • Neevo
    • Cache
    • Drivers
    • Nette
  • PHP

Classes

  • CacheAdapter
  • DebugPanel
  • Extension

Class CacheAdapter

Cache adapter for Nette Framework cache storage system.

Neevo\Nette\CacheAdapter implements Neevo\Cache\StorageInterface
Namespace: Neevo\Nette
Author: Smasty
Located at nette-extension/CacheAdapter.php

Methods summary

public
# __construct( string $cacheKey, Nette\Caching\IStorage $storage )

Creates the cache adapter.

Creates the cache adapter.

Parameters

$cacheKey
string
$cacheKey Generated from service name
$storage
Nette\Caching\IStorage
$storage
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