ConsoleApplicationResolver
class ConsoleApplicationResolver
| internal |
Traits
Properties
| protected Container|null | $container | from HasContainer |
Methods
__construct(ReflectionProvider $reflectionProvider, RuntimeInputs $runtimeInputs)
Create a new resolver instance.
array
findCommands(ClassReflection $classReflection)
Find the registered commands that are instances of the given class.
array
findCommandsForType(Type $type, Scope $scope)
Find the registered commands the given receiver type can be.
Details
in
HasContainer at line 19
void
setContainer(Container $container)
Set the container used for resolution.
in
HasContainer at line 27
Container
getContainer()
Return the current container.
in
HasContainer at line 35
mixed
resolve(string $abstract)
Resolve the given type from the container.
at line 53
__construct(ReflectionProvider $reflectionProvider, RuntimeInputs $runtimeInputs)
Create a new resolver instance.
at line 64
array
findCommands(ClassReflection $classReflection)
Find the registered commands that are instances of the given class.
at line 104
array
findCommandsForType(Type $type, Scope $scope)
Find the registered commands the given receiver type can be.