Automattic\WooCommerce\Vendor\League\Container\Argument
ArgumentResolverInterface{}
Хуков нет.
Использование
$ArgumentResolverInterface = new ArgumentResolverInterface(); // use class methods
Методы
- public reflectArguments(ReflectionFunctionAbstract $method, array $args = [])
- public resolveArguments(array $arguments)
Код ArgumentResolverInterface{} ArgumentResolverInterface{} WC 7.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; }