Soong
Soong provides a general-purpose ETL library for data migration.
|
Filter out records based on specific property values. More...
Public Member Functions | ||||
filter (Record $record) | ||||
Decide whether a data record should be processed.
| ||||
Public Member Functions inherited from OptionsResolverComponent | ||||
getConfigurationValue (string $optionName) | ||||
Retrieve a configuration value for a named option.
| ||||
getAllConfigurationValues () | ||||
Retrieve a list of all available configuration values.
| ||||
Public Attributes | |
const | OPERATORS |
The comparison operators supported by this filter. More... | |
Protected Member Functions | |
optionDefinitions () | |
Protected Member Functions inherited from OptionsResolverComponent | |
optionDefinitions () | |
List of definition arrays for each option supported by the component. More... | |
Additional Inherited Members | |
Protected Attributes inherited from OptionsResolverComponent | |
$configuration = [] | |
Resolved configuration for the component. More... | |
$resolver | |
Use Symfony OptionsResolver as our default configuration manager. More... | |
Filter out records based on specific property values.
One configuration option is supported, 'criteria', which consists of an array of criterion arrays, each containing three values: the name of the property whose value will be the first operand, one of the comparative operators listed in Select::OPERATORS, and the value for the second operand. Some examples:
filter | ( | Record | $record | ) |
Decide whether a data record should be processed.
\Soong\Contracts\Data\Record | $record | Record to examine. |
Implements Filter.
|
protected |
const OPERATORS |
The comparison operators supported by this filter.