SelfResolvingDefinition
in
Describes a definition that can resolve itself.
Tags
Table of Contents
Methods
- isResolvable() : bool
- Check if a definition can be resolved.
- resolve() : mixed
- Resolve the definition and return the resulting value.
Methods
isResolvable()
Check if a definition can be resolved.
public
isResolvable(ContainerInterface $container) : bool
Parameters
- $container : ContainerInterface
Return values
boolresolve()
Resolve the definition and return the resulting value.
public
resolve(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface