메소드 | 설명 | |
---|---|---|
__construct ( Interop\Container\ContainerInterface $container, DI\Definition\Resolver\DefinitionResolver $resolver ) | The resolver needs a container. This container will be passed to the factory as a parameter so that the factory can access other entries of the container. | |
isResolvable ( DI\Definition\Definition $definition, array $parameters = [] ) | ||
resolve ( DI\Definition\Definition $definition, array $parameters = [] ) | Resolve a factory definition to a value. |
메소드 | 설명 | |
---|---|---|
resolveExtraParams ( array $params ) |
public __construct ( Interop\Container\ContainerInterface $container, DI\Definition\Resolver\DefinitionResolver $resolver ) | ||
$container | Interop\Container\ContainerInterface | |
$resolver | DI\Definition\Resolver\DefinitionResolver |
public isResolvable ( DI\Definition\Definition $definition, array $parameters = [] ) | ||
$definition | DI\Definition\Definition | |
$parameters | array |