Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 880 Bytes

File metadata and controls

28 lines (17 loc) · 880 Bytes

Oro PHP Utils Component

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