ManagersMethodsExtension
class ManagersMethodsExtension implements MethodsClassReflectionExtension
| internal |
Type the calls a manager forwards to its default driver.
The booted manager selects the default driver, so a different environment can select a driver with other methods. The declared return type of whatever creates that driver types it, so analysis never builds a driver, which can need secrets, extensions or connections.
Traits
Properties
| protected Container|null | $container | from HasContainer |
Methods
Create a managers methods extension.
Determine whether the manager's default driver has the public method the manager forwards.
Get the driver method the manager forwards.
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 50
__construct(ReflectionProvider $reflectionProvider, ClosureTypeFactory $closureTypeFactory, RuntimeInputs $runtimeInputs)
Create a managers methods extension.
at line 60
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether the manager's default driver has the public method the manager forwards.
at line 106
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Get the driver method the manager forwards.