Releases: brick/di
Releases · brick/di
0.2.0
Breaking changes:
BindingDefinition::using()
has been removed:
Calls tobind()->using()
must be replaced withbind()->with()
and keys wrapped inRef
objects.BindingDefinition::to()
has been removed:
Calls tobind('key')->to('value')
must be replaced withbind('key', 'value')
.Container::get()
now accepts strings only;Container::create()
has been removed, usenew Container()
instead;ArrayValueResolver::setValues()
have been split into 2 methods:setParameterValues()
setPropertyValues()
New features:
- Injection policies support interfaces