mini\Exceptions\DependencyInjectionException
class
Documentation
Thrown when dependency injection fails
This exception indicates that a required dependency could not be resolved during constructor or method injection. Common causes:
- No named argument provided and no service registered for the type
- Parameter has no type hint and no named argument provided
- Variadic parameter provided with non-array value
Inheritance
Extends: Exception
Implements:
Stringable
Throwable
Psr\Container\ContainerExceptionInterface
Properties (4)
protected
mixed
$message
protected
mixed
$code
protected
string $file
protected
int $line
Methods (10)
public
__construct()
inherited from Exception
Documentation missing
public
__wakeup()
inherited from Exception
Documentation missing
public
final
getMessage()
inherited from Exception
Documentation missing
public
final
getCode()
inherited from Exception
Documentation missing
public
final
getFile()
inherited from Exception
Documentation missing
public
final
getLine()
inherited from Exception
Documentation missing
public
final
getTrace()
inherited from Exception
Documentation missing
public
final
getPrevious()
inherited from Exception
Documentation missing
public
final
getTraceAsString()
inherited from Exception
Documentation missing
public
__toString()
inherited from Exception
Documentation missing