PHP Interface ScriptFUSION\Porter\Provider\Resource\ProviderResource

Afficher le fichier Open project: ScriptFUSION/Porter Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

fetch() public méthode

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.
Résultat Iterator Enumerable data series.

getProviderClassName() public méthode

Gets the class name of the provider this resource belongs to.
public getProviderClassName ( ) : string
Résultat string Provider class name.

getProviderTag() public méthode

Gets the provider identifier tag.
public getProviderTag ( ) : string | null
Résultat string | null Provider tag.