alextartan/helpers

Collection of helper classes

3.0.0 2021-12-17 14:39 UTC

README

CI codecov Mutation testing badge Downloads

About

These are some on the helpers I've gathered so far.

Not a lot of magic involved, but these have saved me hours of work

Array
  • indexArrayOfObjectsByMethod
  • indexArrayOfArraysByKey
Reflection
  • setPrivatePropertyValue
  • getPrivatePropertyValue
  • callPrivateMethod
Dates
  • getDateTimeFromDateTimeImmutable
  • toYmdHis

... and some more