Method | Description | |
---|---|---|
__construct ( ) | ||
getProvider ( string $name, string | null $tag = null ) : ScriptFUSION\Porter\Provider\Provider | Gets the provider matching the specified class name and optionally a tag. | |
hasProvider ( string $name, string | null $tag = null ) : boolean | Gets a value indicating whether the specified provider is registered. | |
import ( |
Imports data according to the design of the specified import specification. | |
importOne ( |
Imports one record according to the design of the specified import specification. | |
registerProvider ( ScriptFUSION\Porter\Provider\Provider $provider, string | null $tag = null ) | Registers the specified provider optionally identified by the specified tag. | |
setMapper ( ScriptFUSION\Mapper\CollectionMapper $mapper ) |
Method | Description | |
---|---|---|
applyCacheAdvice ( ScriptFUSION\Porter\Provider\Provider $provider, |
||
createMappedRecords ( Iterator $records, |
||
createPorterRecords ( |
||
createProviderRecords ( Iterator $records, ScriptFUSION\Porter\Provider\Resource\ProviderResource $resource ) | ||
fetch ( ScriptFUSION\Porter\Provider\Resource\ProviderResource $resource, |
||
filter ( |
||
getOrCreateMapper ( ) : ScriptFUSION\Mapper\CollectionMapper | ||
getOrCreateProviderFactory ( ) | ||
hashProviderName ( string $name, string | null $tag ) : string | ||
map ( |
public import ( |
||
$specification | Import specification. | |
return |
public registerProvider ( ScriptFUSION\Porter\Provider\Provider $provider, string | null $tag = null ) | ||
$provider | ScriptFUSION\Porter\Provider\Provider | Provider. |
$tag | string | null | Optional. Provider tag. |
public setMapper ( ScriptFUSION\Mapper\CollectionMapper $mapper ) | ||
$mapper | ScriptFUSION\Mapper\CollectionMapper |