ArgumentResolverInterface
extends
ContainerAwareInterface
in
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
getContainer()
Get the container
public
getContainer() : ContainerInterface
Return values
ContainerInterface —getLeagueContainer()
Get the container. This will be removed in favour of getContainer returning Container in next major release.
public
getLeagueContainer() : Container
Return values
Container —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> —setContainer()
Set a container
public
setContainer(ContainerInterface $container) : self
Parameters
- $container : ContainerInterface
Return values
self —setLeagueContainer()
Set a container. This will be removed in favour of setContainer receiving Container in next major release.
public
setLeagueContainer(Container $container) : self
Parameters
- $container : Container