This repository has been archived by the owner on Jan 16, 2019. It is now read-only.
5.1.0 - Repeat after me: setter injection is bad
BC breaks
- Setter injection is now discouraged and disabled by default, and will be removed with 6.0.0.
- Reenable the old behaviour with
stubbles\ioc\Binder::enableSetterInjection()
- Reenable the old behaviour with
Other changes
- IoC now supports default param values for non-optional injections:
If no binding present for a param but the param has a default value the
default value will be used for injection. - implemented #117: injection stack on binding exceptions
- improved performance of annotation parsing
- improved annotation cache storage functions api
- properties from config.ini are also now available as instance of
stubbles\lang\Properties
, namedconfig.ini