Soong
Soong provides a general-purpose ETL library for data migration.
Filter Interface Reference

Filters decide whether a Record should or should not be processed. More...

Inheritance diagram for Filter:
ConfigurableComponent Select TestFilter

Public Member Functions

 filter (Record $record)
 Decide whether a data record should be processed. More...
 
- Public Member Functions inherited from ConfigurableComponent
 getConfigurationValue (string $optionName)
 Retrieve a configuration value for a named option. More...
 
 getAllConfigurationValues ()
 Retrieve a list of all available configuration values. More...
 

Detailed Description

Filters decide whether a Record should or should not be processed.

Member Function Documentation

◆ filter()

filter ( Record  $record)

Decide whether a data record should be processed.

Parameters
\Soong\Contracts\Data\Record$recordRecord to examine.
Returns
bool TRUE if the record should be processed, FALSE if it should be skipped.

Implemented in Select, and TestFilter.