$bindings
$bindings : array
Binding class.
Container class.
The Container
class provides a basic dependency injection container for
managing class instances and their dependencies.
call(callable|array{0: object|string, 1: string} $callable, array$parameters = []) : mixed
Call a callable with dependency injection.
callable|array{0: object|string, 1: string} | $callable | Holds the callable function or method. |
array |
$parameters | Holds an associative array of additional parameters to pass. |
if the callable cannot be reflected.
if a dependency cannot be resolved.
if the callable is not invocable.
Return the result of the callable.
getReflector(callable|array{0: object|string, 1: string} $callable) : \ReflectionMethod|\ReflectionFunction
Get reflector for the given callable.
callable|array{0: object|string, 1: string} | $callable | Holds the callable function or method. |
if the callable cannot be reflected.
if an unsupported callable type is provided.
Return the reflection object for the callable.