Skip to content

Commit 2af3943

Browse files
committed
Remove configurator option
1 parent 2620735 commit 2af3943

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Module/NetteDIModule.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class NetteDIModule extends Module
3434
'logDir' => null,
3535
'wwwDir' => null,
3636
'debugMode' => null,
37-
'configurator' => Configurator::class,
3837
'removeDefaultExtensions' => false,
3938
];
4039

@@ -128,7 +127,7 @@ public function grabService($service)
128127

129128
private function createContainer()
130129
{
131-
$configurator = new $this->config['configurator']();
130+
$configurator = new Configurator();
132131
if ($this->config['removeDefaultExtensions']) {
133132
$configurator->defaultExtensions = [
134133
'extensions' => 'Nette\DI\Extensions\ExtensionsExtension',

0 commit comments

Comments
 (0)