WooCommerce Code Reference

ArgumentResolverInterface extends ContainerAwareInterface

Table of Contents

getContainer()  : ContainerInterface
Get the container
getLeagueContainer()  : Container
Get the container. This will be removed in favour of getContainer returning Container in next major release.
reflectArguments()  : array<string|int, mixed>
Resolves the correct arguments to be passed to a method.
resolveArguments()  : array<string|int, mixed>
Resolve an array of arguments to their concrete implementations.
setContainer()  : self
Set a container
setLeagueContainer()  : self
Set a container. This will be removed in favour of setContainer receiving Container in next major release.

Methods

reflectArguments()

Resolves the correct arguments to be passed to a method.

public reflectArguments(ReflectionFunctionAbstract $method[, array<string|int, mixed> $args = [] ]) : array<string|int, mixed>
Parameters
$method : ReflectionFunctionAbstract
$args : array<string|int, mixed> = []
Return values
array<string|int, mixed>

resolveArguments()

Resolve an array of arguments to their concrete implementations.

public resolveArguments(array<string|int, mixed> $arguments) : array<string|int, mixed>
Parameters
$arguments : array<string|int, mixed>
Return values
array<string|int, mixed>