17 Commits (2b7e8be1e85e6c53772d0b8efa45152965d29033)

Author SHA1 Message Date
Cyrillos Jonua db0e7a6c8f Fixes #13848: `yii\di\Instance::ensure()` wasn't throwing an exception when `$type` is specified and `$reference` object isn't instance of `$type` 8 years ago
Klimov Paul 928a30588d memory usage at unit test reduced 8 years ago
Klimov Paul 04a14efd3f compatibility with PHPUnit 6.x fix 8 years ago
Klimov Paul dee88787fc compatibility with PHPUnit 6.x added 8 years ago
Alexander Makarov 3f8e8a89eb Used more specific unit test assertions in framework tests 8 years ago
gagatust 6397791513 Fixed whitespaces to match code style [skip ci] 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 66e8158716 Fixes #11771: Fixed semantics of `yii\di\ServiceLocator::__isset()` to match the behavior of `__get()` which fixes inconsistent behavior on newer PHP versions 8 years ago
SilverFire - Dmitry Naumenko 437825be70
Implemented Container::setDependencies(), Container::setDefinitions 8 years ago
Carsten Brandt a837c59182 improved error message for Instance::ensure() when component does not exist (#12967) 8 years ago
Carsten Brandt bda42b68ce fixed yii\di\Instance documentation 8 years ago
Sam Mousa dfa292652d Fixes #11561: Fixed DI container throwing exceptions for optional dependencies 8 years ago
Sam Mousa 8ea4c660da Several improvements to DI container 9 years ago
mdmunir 2505e7ef63 Fixes #9785: Added ability to invoke callback with dependency resolution to DI container 9 years ago
LAV45 fcf25e8fa1 Fixed `\yii\di\Instance::ensure()` to work with minimum settings 9 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago