Soong
Soong provides a general-purpose ETL library for data migration.
VarDump Class Reference

Loader for testing/debugging pipelines. More...

Inheritance diagram for VarDump:
LoaderBase OptionsResolverComponent Loader ConfigurableComponent ConfigurableComponent PropertyList

Public Member Functions

 __invoke (RecordPayload $payload)
 This needs to return disposition (success, failure) and key of result.
Parameters
RecordPayload$payloadPayload containing data to be loaded into the destination.
Exceptions
More...
 
 getKeyProperties ()
 List the properties which form a unique key for the extracted data.
Returns
array Array keyed by property name, with value being an array containing a 'type' key whose value is the type of the property.
More...
 
 getProperties ()
 List the properties available in records generated by this extractor.
Returns
array Array of property names.
More...
 
 delete (array $key)
 Remove a record which has been loaded from the destination.
Parameters
array$keyUnique key of the destination record to be removed.
Exceptions
More...
 
- Public Member Functions inherited from LoaderBase
 getProperties ()
 List the properties available in records generated by this extractor.
Returns
array Array of property names.
More...
 
 getKeyProperties ()
 List the properties which form a unique key for the extracted data.
Returns
array Array keyed by property name, with value being an array containing a 'type' key whose value is the type of the property.
More...
 
- Public Member Functions inherited from OptionsResolverComponent
 getConfigurationValue (string $optionName)
 Retrieve a configuration value for a named option.
Parameters
string$optionNameName of the option to retrieve.
Returns
mixed|null Retrieved value, or NULL if unset.
More...
 
 getAllConfigurationValues ()
 Retrieve a list of all available configuration values.
Returns
iterable Option values keyed by names.
More...
 

Additional Inherited Members

- Protected Member Functions inherited from LoaderBase
 optionDefinitions ()
 
- Protected Member Functions inherited from OptionsResolverComponent
 optionDefinitions ()
 List of definition arrays for each option supported by the component. More...
 
- Protected Attributes inherited from OptionsResolverComponent
 $configuration = []
 Resolved configuration for the component. More...
 
 $resolver
 Use Symfony OptionsResolver as our default configuration manager. More...
 

Detailed Description

Loader for testing/debugging pipelines.

Member Function Documentation

◆ __invoke()

__invoke ( RecordPayload  $payload)

This needs to return disposition (success, failure) and key of result.

Parameters
RecordPayload$payloadPayload containing data to be loaded into the destination.
Exceptions

Implements Loader.

◆ getKeyProperties()

getKeyProperties ( )

List the properties which form a unique key for the extracted data.

Returns
array Array keyed by property name, with value being an array containing a 'type' key whose value is the type of the property.

Implements PropertyList.

◆ getProperties()

getProperties ( )

List the properties available in records generated by this extractor.

Returns
array Array of property names.

Implements PropertyList.

◆ delete()

delete ( array  $key)

Remove a record which has been loaded from the destination.

Parameters
array$keyUnique key of the destination record to be removed.
Exceptions

Implements Loader.