public
static
|
getContextualBindings(
ContainerInterface $container,
): array<class-string|non-empty-string|int, (Closure(ContainerInterface): object)|class-string|object>
Get bindings to add to the container in the context of the class
Get bindings to add to the container in the context of the class
The contextual bindings of the class apply:
- when resolving its dependencies
- when using {@see ContainerInterface::inContextOf()} to work with the
container in the context of the class
Implemented by
|
#
|