Commit Graph

16 Commits

Author SHA1 Message Date
Qiang Xue
3ea2ffbbd2 Fixed the issue that ServiceLocator still returns the old component after calling set() with a new definition 2014-05-11 15:03:22 -04:00
Qiang Xue
0880656be3 Fixes #3311. 2014-05-01 22:19:48 -04:00
lynicidn
7c390d62d6 typo in comments
property can be set via [[setComponents()]]
2014-04-26 02:53:45 +04:00
Qiang Xue
4eb7906a3e Fixes #3204: yii\di\Container did not handle the $config parameter well in case when it does not have a default value 2014-04-21 14:58:10 -04:00
Thiago Talma
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
Qiang Xue
5adcac52a6 improved DI definition normalization. 2014-03-30 17:03:44 -04:00
Carsten Brandt
1e75427393 updated classmap and phpdoc 2014-03-24 23:26:30 +01:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
b1c4416218 Final touchup. 2014-03-21 00:02:15 -04:00
Qiang Xue
bda1ffa6ce Finished refactoring of DI container and service locator. 2014-03-20 20:52:23 -04:00
Qiang Xue
87df068eb0 DI WIP 2014-03-20 19:54:52 -04:00
Qiang Xue
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
Qiang Xue
72c99663ff Refactored container. 2014-03-18 11:49:52 -04:00
Qiang Xue
43fb937a20 Added unit tests. 2014-03-18 10:45:25 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
Qiang Xue
66abd5b8ab Added DI container implementation. 2014-03-17 23:22:45 -04:00