Releases: nimbly/Resolve
Releases · nimbly/Resolve
Release 2.3
Fixes
- Fixed bug where untyped parameters with no entries in container or user parameters and no default value were being assigned
null
as default value. Behavior is now to correctly throw aParameterResolutionException
.
Updates
- Updating Docblocks in Resolve class with better documentation.
- Updating Github Actions config and Codecov API token.
- Adding PHP 8.3 as test target in Github Actions.
Release 2.2
Updates
- Complete refactor of parameter resolution logic, especially around Union types.
Release 2.1
Updates
- Adding support for resolving Union types.
Release 2.0.1
Updates
- Adding support for
psr/container
2.0.
Release 2.0
Breaking change
Resolve has been reworked into a Trait instead of a class.
Release 1.0
Initial release
- Call any
callable
make any makeable - Resolves dependencies for class constructors, methods, and functions.
- Add a PSR-11 ContainerInterface instance to Resolve for a full fledged dependency injection library.
Release 0.3
Updates
- Adding support for PHP 8.0.
Breaking changes
- Dropping support for PHP 7.2
Release 0.2
Updates
- Adding
getCallableArguments
method to return an array of resolved arguments for any callable. - Adding
makeCallable
method to convert common string formats into acallable
instance.
Release 0.1
Initial release
Resolve is a dependency injection helper that can call any callable
and handle the dependency injection for you. You can optionally provide it a PSR-11 container instance for additional help in resolving dependencies.