Re-Run Saved Transformation
Once created, a transformation does not need to be re-defined each time, and can simply be run again.
For example, if you define a transformation such as:
ExtractAndTransform::transform('Saved Transform')
->from('raw_products')
->select([
'sku' => 'remote_id',
'price' => 'price',
])
->toTable('saved_products')
->run();
Then you can run it again using all the same parameters by simply calling:
$transformation = ExtractAndTransform::getTransformation('Saved Transform');
$run = $transformation->run();