PHP Interface Pheasant\Cache

Datei anzeigen Open project: lox/pheasant

Public Methods

Method Description
add ( $object ) Add or override a row in the cache. Expects a DomainObject
clear ( ) Clears the entire cache
get ( $hash ) : array Gets a row from the cache, or returns false
has ( $hash ) : boolean

Method Details

add() public method

Add or override a row in the cache. Expects a DomainObject
public add ( $object )

clear() public method

Clears the entire cache
public clear ( )

get() public method

Gets a row from the cache, or returns false
public get ( $hash ) : array
return array

has() public method

public has ( $hash ) : boolean
return boolean