PHP Class FastFeed\Cache\FastFeed

Inheritance: extends FastFeed\FastFeed
Datei anzeigen Open project: fastfeed/fastfeed

Protected Properties

Property Type Description
$cache CacheInterface;

Public Methods

Method Description
fetch ( string $channel = 'default' ) : array | Desarrolla2\Cache\CacheInterface
getCache ( ) : Desarrolla2\Cache\CacheInterface
setCache ( Desarrolla2\Cache\CacheInterface $cache )

Protected Methods

Method Description
getFromCache ( string $channel ) : array
setToCache ( string $channel, array $items )

Method Details

fetch() public method

public fetch ( string $channel = 'default' ) : array | Desarrolla2\Cache\CacheInterface
$channel string
return array | Desarrolla2\Cache\CacheInterface

getCache() public method

public getCache ( ) : Desarrolla2\Cache\CacheInterface
return Desarrolla2\Cache\CacheInterface

getFromCache() protected method

protected getFromCache ( string $channel ) : array
$channel string
return array

setCache() public method

public setCache ( Desarrolla2\Cache\CacheInterface $cache )
$cache Desarrolla2\Cache\CacheInterface

setToCache() protected method

protected setToCache ( string $channel, array $items )
$channel string
$items array

Property Details

$cache protected_oe property

protected CacheInterface; $cache
return CacheInterface;