corex/helpers

Helpers (string, array, ...)

4.2.0 2021-09-26 14:24 UTC

This package is auto-updated.

Last update: 2024-10-26 21:19:18 UTC


README

License Build Status codecov

Helpers

  • Arr - Array helpers.
  • Is - Methods to check types.
  • Obj - Various methods to help getting/setting private/protected properties, check for extends, interfaces. Class overrides supported. Good for testing.
  • Str - String helpers.
  • StrList - String list helpers.

Traits

  • ConstantsStaticTrait - Static methods to help get constants (generic/private/public) from class.
  • ConstantsTrait - - Methods to help get constants (generic/private/public) from class.
  • DataPrivateTrait - Private methods (set/get/has/remove/...) to handle generic data.
  • DataPublicTrait - Public methods (set/get/has/remove/...) to handle generic data.