Skip to content

Init loader hook

Pre-release
Pre-release
Compare
Choose a tag to compare
@bpolaszek bpolaszek released this 08 Apr 10:57
· 67 commits to master since this 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 of Etl::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 with EtlBuilder::onLoaderInit().