Alexander Makarov
3f8e8a89eb
Used more specific unit test assertions in framework tests
8 years ago
SilverFire - Dmitry Naumenko
5e422fd27d
Fixed InstanceTest::testRestoreAfterVarExport() to work on HHVM
8 years ago
SilverFire - Dmitry Naumenko
bfa2390d5a
Added `yii\di\Instance::__set_state()` method
8 years ago
Carsten Brandt
a837c59182
improved error message for Instance::ensure() when component does not exist ( #12967 )
...
fixes #7333
8 years ago
Carsten Brandt
bda42b68ce
fixed yii\di\Instance documentation
...
fixes #11637
8 years ago
cuiliang
c0df003ac0
merge from master
8 years ago
Sam Mousa
8ea4c660da
Several improvements to DI container
...
- Refactored invoke into separate resolve method (reusability)
- Added support for associative params array
- Added PHPUnit group doc to DI tests.
- Improved the tests for better coverage, and fixed a bug discovered by the new tests.
close #10811
9 years ago
LAV45
fcf25e8fa1
Fixed `\yii\di\Instance::ensure()` to work with minimum settings
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
9 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago
Qiang Xue
d341bf02b4
Fixes #6398 : Added support for specifying dependent component in terms of a configuration array for classes such as `DbCache`
10 years ago
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
Qiang Xue
9cdfb35fa3
Fixes #3312 .
11 years ago
Qiang Xue
bda1ffa6ce
Finished refactoring of DI container and service locator.
11 years ago
Qiang Xue
43fb937a20
Added unit tests.
11 years ago