PHP 클래스 ScriptFUSION\Porter\Provider\AbstractProvider

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

공개 메소드들

메소드 설명
__construct ( ScriptFUSION\Porter\Connector\Connector $connector )
disableCache ( )
enableCache ( )
fetch ( ScriptFUSION\Porter\Provider\Resource\ProviderResource $resource ) : Iterator
getConnector ( ) : ScriptFUSION\Porter\Connector\Connector
isCacheEnabled ( )

보호된 메소드들

메소드 설명
getOptions ( ) : EncapsulatedOptions | null Gets the provider options.
setOptions ( EncapsulatedOptions $options ) Sets the provider options to the specified options.

메소드 상세

__construct() 공개 메소드

public __construct ( ScriptFUSION\Porter\Connector\Connector $connector )
$connector ScriptFUSION\Porter\Connector\Connector

disableCache() 공개 메소드

public disableCache ( )

enableCache() 공개 메소드

public enableCache ( )

fetch() 공개 메소드

public fetch ( ScriptFUSION\Porter\Provider\Resource\ProviderResource $resource ) : Iterator
$resource ScriptFUSION\Porter\Provider\Resource\ProviderResource
리턴 Iterator

getConnector() 공개 메소드

public getConnector ( ) : ScriptFUSION\Porter\Connector\Connector
리턴 ScriptFUSION\Porter\Connector\Connector

getOptions() 보호된 메소드

Gets the provider options.
protected getOptions ( ) : EncapsulatedOptions | null
리턴 ScriptFUSION\Porter\Options\EncapsulatedOptions | null

isCacheEnabled() 공개 메소드

public isCacheEnabled ( )

setOptions() 보호된 메소드

Sets the provider options to the specified options.
protected setOptions ( EncapsulatedOptions $options )
$options ScriptFUSION\Porter\Options\EncapsulatedOptions Options.