InjectionException
- Full name:
\Qubus\Injector\InjectionException
- Parent class:
RuntimeException
- This class implements:
\Qubus\Injector\InjectorException
Properties
dependencyChain
Methods
__construct
public __construct(array $inProgressMakes, mixed $message = "", mixed $code, ?\ReflectionException $previous = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$inProgressMakes | array | |
$message | mixed | |
$code | mixed | |
$previous | ?\ReflectionException |
fromInvalidCallable
Add a human-readable version of the invalid callable to the standard 'invalid invokable' message.
public static fromInvalidCallable(array $inProgressMakes, string|array|object $callableOrMethodStr, ?\ReflectionException $previous = null): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$inProgressMakes | array | |
$callableOrMethodStr | string|array|object | |
$previous | ?\ReflectionException |
getDependencyChain
Returns the hierarchy of dependencies that were being created when the exception occurred.
Automatically generated on 2025-10-13