Automattic\WooCommerce\Vendor\League\Container\Argument

ArgumentResolverInterface{}WC 1.0

No Hooks.

Usage

$ArgumentResolverInterface = new ArgumentResolverInterface();
// use class methods

Methods

  1. public reflectArguments(ReflectionFunctionAbstract $method, array $args = [])
  2. public resolveArguments(array $arguments)

ArgumentResolverInterface{} code WC 8.7.0

interface ArgumentResolverInterface extends ContainerAwareInterface
{
    /**
     * Resolve an array of arguments to their concrete implementations.
     *
     * @param array $arguments
     *
     * @return array
     */
    public function resolveArguments(array $arguments) : array;

    /**
     * Resolves the correct arguments to be passed to a method.
     *
     * @param ReflectionFunctionAbstract $method
     * @param array                      $args
     *
     * @return array
     */
    public function reflectArguments(ReflectionFunctionAbstract $method, array $args = []) : array;
}