Skip to content

Releases: asispts/dicontainer

0.4

10 Sep 13:55
89e9421
Compare
Choose a tag to compare

Changelog

Added

  • Pass constant value to constructor arguments by using CALL::CONSTANT
  • Validate constructor arguments datatype and value

Fixed

  • Fix constructParams call bug when passing bool array
  • Pass null to nullable constructor arguments

0.3.1

08 Sep 13:22
79e0e00
Compare
Choose a tag to compare
v0.3.1

Remove branch alias

0.3

08 Sep 13:04
bd2ee2e
Compare
Choose a tag to compare
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 with constructParams

Changed

  • Refactoring unit tests
  • Change format of getFrom rule to [callback],[callback_arguments]

0.2

30 Aug 11:12
3929edf
Compare
Choose a tag to compare
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 with ReflectionParameter::getType