PHP 인터페이스 ScriptFUSION\Porter\Provider\Resource\ProviderResource

파일 보기 프로젝트 열기: ScriptFUSION/Porter 0 사용 예제들

공개 메소드들

메소드 설명
fetch ( ScriptFUSION\Porter\Connector\Connector $connector, EncapsulatedOptions $options = null ) : Iterator Fetches data from the provider using the the specified connector and presents its data as an enumerable series.
getProviderClassName ( ) : string Gets the class name of the provider this resource belongs to.
getProviderTag ( ) : string | null Gets the provider identifier tag.

메소드 상세

fetch() 공개 메소드

Fetches data from the provider using the the specified connector and presents its data as an enumerable series.
public fetch ( ScriptFUSION\Porter\Connector\Connector $connector, EncapsulatedOptions $options = null ) : Iterator
$connector ScriptFUSION\Porter\Connector\Connector Connector.
$options ScriptFUSION\Porter\Options\EncapsulatedOptions Optional. Options.
리턴 Iterator Enumerable data series.

getProviderClassName() 공개 메소드

Gets the class name of the provider this resource belongs to.
public getProviderClassName ( ) : string
리턴 string Provider class name.

getProviderTag() 공개 메소드

Gets the provider identifier tag.
public getProviderTag ( ) : string | null
리턴 string | null Provider tag.