Releases: asispts/dicontainer
Releases · asispts/dicontainer
0.4
0.3.1
v0.3.1 Remove branch alias
0.3
Changelog
Added
- Add exception message of missing interface in constructor arguments
- Support override
getFrom
rule - Can retrieve constructor argument value from a callable by using
constructParams
rule - Can override
substitutions
withconstructParams
Changed
- Refactoring unit tests
- Change format of
getFrom
rule to[callback],[callback_arguments]
0.2
Changelog
Added
- Support passing object as
instanceOf
value - Handle invalid
getFrom
format
Changed
- Set supported PHP version to
>= 7.1
ReflectionParameter::getClass
is deprecated on PHP 8. Replaced withReflectionParameter::getType