PHP Class Pop\Cache\Adapter\Apc

Author: Nick Sagona, III ([email protected])
Inheritance: implements Pop\Cache\Adapter\AdapterInterface
Afficher le fichier Open project: nicksagona/PopPHP

Protected Properties

Свойство Type Description
$info array APC info

Méthodes publiques

Méthode Description
__construct ( ) : Apc Constructor
clear ( ) : void Method to clear all stored values from cache.
getInfo ( ) : string Method to get the current APC info.
load ( string $id, string $time ) : mixed Method to load a value from cache.
remove ( string $id ) : void Method to delete a value in cache.
save ( string $id, mixed $value, string $time ) : void Method to save a value to cache.

Method Details

__construct() public méthode

Instantiate the APC cache object
public __construct ( ) : Apc
Résultat Apc

clear() public méthode

Method to clear all stored values from cache.
public clear ( ) : void
Résultat void

getInfo() public méthode

Method to get the current APC info.
public getInfo ( ) : string
Résultat string

load() public méthode

Method to load a value from cache.
public load ( string $id, string $time ) : mixed
$id string
$time string
Résultat mixed

remove() public méthode

Method to delete a value in cache.
public remove ( string $id ) : void
$id string
Résultat void

save() public méthode

Method to save a value to cache.
public save ( string $id, mixed $value, string $time ) : void
$id string
$value mixed
$time string
Résultat void

Property Details

$info protected_oe property

APC info
protected array $info
Résultat array