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