:earth_africa: Transforms arrays using an object composition DSL.
Repo ScriptFUSION/Mapper, read from GitHub 11 min ago. ScriptFUSION has not joined Take My Repo.
Join strategy.$data parameter to TryCatch exception handler callback.Replace strategy.As documented, Copy is the backbone of most mappings and this major release brings several improvements to Copy that make both Walk and Translate obsolete and have thus been removed in this version.
Copy; makes Translate strategy obsolete.Copy; makes Walk strategy obsolete.CollectionMapper now accepts any expression type instead of just Mapping.MapperAware now implements KeyAware.MapperAwareTrait now uses KeyAwareTrait.Migrating to 2.0.0 is painless for anyone not using Walk or Translate strategies and easy even for those who are.
Translate can simply be replaced with Copy.Walk can be replaced with Copy by transposing parameters.The change to CollectionMapper is harmless for most users except those extending the mapCollection method. The method signature must be updated due to PHP's type invariance but otherwise should function exactly the same as before.
Anyone extending MapperAware must ensure they also implement KeyAware, however since most users doing this should be using MapperAwareTrait, the updates to that trait should handle this automatically.
Copy path.Translate.Debug strategy.