Releases: thephpleague/container
Releases · thephpleague/container
4.2.4
4.2.3
4.2.1
4.2.0
Added
- Support for psr/container 1.1.0.
4.1.2
Fixed
- Fix bug that was causing an error on inflection due to introduced type hint.
4.1.1
4.1.0
Added
- Way to handle non-public controllers safely (@beryllium)
4.0.0
Added
- New definition interface that extends psr/container
- Literal and resolvable argument wrappers for better explicitness in definitions
Changed
- PHP requirement now
>=7.2
- Updated
psr/container
to ^2.0.0 Container::shared
convenience method is now explicitContainer::addShared
method- Removed third argument
$shared
fromContainer::add
, useContainer::addShared
ServiceProviderInterface
now defines return types- Service providers now require implementation of a
provides
method rather than relying on a class property.
3.4.1
Added
- Way to handle non-public controllers safely (@beryllium)
- PHPUnit ^7.0 for PHP versions that support it (@beryllium)
3.4.0
Removed
- Support for
psr/container
^2.0.0 as the interface cannot be reconciled between versions