Container v4.0.0 Release Notes
-
โ 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.