Running Processes

To run an ETL process, you can chain the steps methods in the desired execution order and then call the run method:

$etl->extract(/* ... */)
    ->transform(/* ... */)
    ->load(/* ... */)
    ->run();

To run the process and return the resulting data as an array, you may use the toArray method:

$data = $etl->extract(/* ... */)
    ->transform(/* ... */)
    ->load(/* ... */)
    ->toArray();

Last updated