PHP 클래스 ScriptFUSION\Porter\Connector\CachingConnector

상속: implements Connector, implements ScriptFUSION\Porter\Cache\CacheToggle
파일 보기 프로젝트 열기: ScriptFUSION/Porter 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Psr\Cache\CacheItemPoolInterface $cache = null )
disableCache ( )
enableCache ( )
fetch ( $source, EncapsulatedOptions $options = null )
fetchFreshData ( $source, EncapsulatedOptions $options = null )
isCacheEnabled ( )

비공개 메소드들

메소드 설명
hash ( array $structure )

메소드 상세

__construct() 공개 메소드

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

disableCache() 공개 메소드

public disableCache ( )

enableCache() 공개 메소드

public enableCache ( )

fetch() 공개 메소드

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

fetchFreshData() 추상적인 공개 메소드

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

isCacheEnabled() 공개 메소드

public isCacheEnabled ( )