oro-flex/php-utils

`Oro PHP Utils Component` provides some useful PHP libraries.

4.2.0 2022-01-08 09:31 UTC

This package is not auto-updated.

Last update: 2024-04-28 18:43:53 UTC


README

Oro PHP Utils Component provides some useful PHP libraries.

ArrayUtil class

Description: Provides a set of useful functions to work with PHP arrays.

Methods:

ClassGenerator

Namespace-aware wrapper over \Nette\ClassType

ReflectionClassHelper class

Description: Provides a set of useful extensions of PHP class reflection API.

Methods:

  • hasMethod - Checks whether a method exists in class declaration.
  • isValidArguments - Validates whether a method has the given arguments.
  • completeArguments - Completes arguments array by default values that were not passed, but set at a method