di icon indicating copy to clipboard operation
di copied to clipboard

💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 8 features.

Results 29 di issues
Sort by recently updated
recently updated
newest added

Version: v3.0.1 ### Bug Description In case of this config file: ```yaml services: userManager: Model\User\UserManager(%security.admin%, %security.user%) ``` when parameter `'security.user'` does not exist Exception is: But name of broken service...

- **Is your feature request related to a problem?** I would like to propose **more self-explanatory exception message** for case when constructor and magic factory implementation does not match. -...

Allows to use `!` trick in array's key to force overriding instead of merging.

Version: 3.2.0 ### Bug Description config/common.neon ```neon parameters: secretDir: 'mySecretDir' extensions: myDiExtension: Plugin\DIExtension ``` DIExtension class ```php ... class DIExtension extends CompilerExtension { public function loadConfiguration() { $this->compiler->loadConfig(__DIR__ . '/di.neon');...

Hi, apparently a few release tags were deleted, namely tags 3.1.4 to 3.1.6 (inclusive). This prevents `composer install` on projects depending on these missing versions (e.g. due to a bug/break...

Nette Di 3.1.2 ### Bug Description ... The multifactory create does not work showing that must have just one non-static method get() ### Steps To Reproduce applying the example of...

Last change on this line cause an error. https://github.com/nette/di/blob/f9ca71dac3701007dcdfa9a0b10c4d402d7c8965/src/DI/DependencyChecker.php#L182 Previous code works well ```php ? is_object($tmp = Reflection::getParameterDefaultValue($param)) ? ['object' => $tmp::class] : ['value' => $tmp] ``` --- When I...

Version: 3.1.10 ### Bug Description Includes section can expand only parameters which are set to Nette\DI\Config\Loader::setParameters. Parameters which are set in parameters section in config files are ignored. ### Steps...

- new feature - BC break? no - doc PR: no Hello, I use SearchExtension and I have primitive classes in project, but all these classes I must register to...