Inherits DefinitionResolver.
|
| | __construct (ContainerInterface $container, ProxyFactory $proxyFactory) |
| |
| | resolve (Definition $definition, array $parameters=[]) |
| |
| | isResolvable (Definition $definition, array $parameters=[]) |
| |
Container pro pristup k predkum
upravena trida z
◆ __construct()
| __construct |
( |
ContainerInterface |
$container, |
|
|
ProxyFactory |
$proxyFactory |
|
) |
| |
◆ isResolvable()
| isResolvable |
( |
Definition |
$definition, |
|
|
array |
$parameters = [] |
|
) |
| |
Check if a definition can be resolved.
- Parameters
-
| Definition | $definition | Object that defines how the value should be obtained. |
| array | $parameters | Optional parameters to use to build the entry. |
- Returns
- bool
◆ resolve()
| resolve |
( |
Definition |
$definition, |
|
|
array |
$parameters = [] |
|
) |
| |
Resolve a definition to a value.
- Parameters
-
| Definition | $definition | Object that defines how the value should be obtained. |
| array | $parameters | Optional parameters to use to build the entry. |
- Exceptions
-
| DefinitionException | If the definition cannot be resolved. |
- Returns
- mixed Value obtained from the definition.
The documentation for this class was generated from the following file: