corex / helpers
Helpers (string, array, ...)
4.2.0
2021-09-26 14:24 UTC
Requires
- php: ^7.4 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^9.5
README
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.