PHP Интерфейс ScriptFUSION\Porter\Provider\Resource\ProviderResource

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.