Automattic\WooCommerce\Vendor\League\Container\Argument
ArgumentResolverInterface{}
No Hooks.
Usage
$ArgumentResolverInterface = new ArgumentResolverInterface(); // use class methods
Methods
- public reflectArguments(ReflectionFunctionAbstract $method, array $args = [])
- public resolveArguments(array $arguments)
ArgumentResolverInterface{} ArgumentResolverInterface{} code WC 9.5.1
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; }