Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • Cache
  • DummyStorage
  • FileStorage
  • MemcachedStorage

Interfaces

  • ICacheStorage
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Interface ICacheStorage

Cache storage.

Direct known implementers

Nette\Caching\DummyStorage, Nette\Caching\FileStorage, Nette\Caching\MemcachedStorage

Indirect known implementers

Nette\Templates\TemplateCacheStorage
Namespace: Nette\Caching
Author: David Grudl
Located at Caching/ICacheStorage.php
Methods summary
public mixed|null
# read( string $key )

Read from cache.

Read from cache.

Parameters

$key
string
key

Returns

mixed|null
public
# write( string $key, mixed $data, array $dependencies )

Writes item into the cache.

Writes item into the cache.

Parameters

$key
string
key
$data
mixed
data
$dependencies
array
dependencies
public
# remove( string $key )

Removes item from the cache.

Removes item from the cache.

Parameters

$key
string
key
public
# clean( array $conds )

Removes items from the cache by conditions.

Removes items from the cache by conditions.

Parameters

$conds
array
conditions
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0