Init loader hook
Pre-release
Pre-release
- Signature changes on some extractors / loaders (CSV, JSON).
- It's now possible to pass arbitrary arguments to
LoaderInterface::init()
that will be processed just before the 1st item to be loaded. These arbitrary, optionnal arguments are now part ofEtl::process()
signature. this allows a single loader to have multiple options and/or targets at runtime, and to reset its state at each ETL process. - It's possible to hook on the
loader.init
event withEtlBuilder::onLoaderInit()
.