Releases: semperton/container
Releases · semperton/container
3.0.0
- PHP >= 8.0 required
- Removed
callable
factory support
- Added support for delegate container
- Restricted resolving of params by name to factory functions
- Added
withAutowiring
, withDelegate
and withEntry
methods
create
now supports substituting of factory params
2.3.0
- Fixed missing params in factory resolving
create()
no longer returns resolved entries
2.2.0
- Container::create now also resolves factories
- Container implements FactoryInterface
2.1.0
- Using parameter names instead of index for create method
2.0.0
- Callables are now allowed as factories
- Added "create" method
- Automatic built-in parameter resolution for definition factories and class constructors
- Revert back using psr/container 1.0
1.0.0
- PSR-11 compatibility
- Container is immutable