We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2620735 commit 2af3943Copy full SHA for 2af3943
src/Module/NetteDIModule.php
@@ -34,7 +34,6 @@ class NetteDIModule extends Module
34
'logDir' => null,
35
'wwwDir' => null,
36
'debugMode' => null,
37
- 'configurator' => Configurator::class,
38
'removeDefaultExtensions' => false,
39
];
40
@@ -128,7 +127,7 @@ public function grabService($service)
128
127
129
private function createContainer()
130
{
131
- $configurator = new $this->config['configurator']();
+ $configurator = new Configurator();
132
if ($this->config['removeDefaultExtensions']) {
133
$configurator->defaultExtensions = [
134
'extensions' => 'Nette\DI\Extensions\ExtensionsExtension',
0 commit comments