PHP Class ScriptFUSION\Porter\Connector\CachingConnector

Inheritance: implements Connector, implements ScriptFUSION\Porter\Cache\CacheToggle
Afficher le fichier Open project: ScriptFUSION/Porter Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Psr\Cache\CacheItemPoolInterface $cache = null )
disableCache ( )
enableCache ( )
fetch ( $source, EncapsulatedOptions $options = null )
fetchFreshData ( $source, EncapsulatedOptions $options = null )
isCacheEnabled ( )

Private Methods

Méthode Description
hash ( array $structure )

Method Details

__construct() public méthode

public __construct ( Psr\Cache\CacheItemPoolInterface $cache = null )
$cache Psr\Cache\CacheItemPoolInterface

disableCache() public méthode

public disableCache ( )

enableCache() public méthode

public enableCache ( )

fetch() public méthode

public fetch ( $source, EncapsulatedOptions $options = null )
$options ScriptFUSION\Porter\Options\EncapsulatedOptions

fetchFreshData() abstract public méthode

abstract public fetchFreshData ( $source, EncapsulatedOptions $options = null )
$options ScriptFUSION\Porter\Options\EncapsulatedOptions

isCacheEnabled() public méthode

public isCacheEnabled ( )