Automattic\WooCommerce\Vendor\League\Container\Argument

ArgumentResolverInterface{}WC 1.0

Хуков нет.

Использование

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

Методы

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

Код ArgumentResolverInterface{} WC 6.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;
}