Skip to content

Commit

Permalink
Configurator: removed createCompiler(), fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 20, 2015
1 parent c7a1faf commit 5b7c055
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/Bootstrap/Configurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,7 @@ public function generateContainer(DI\Compiler $compiler)
}

return implode("\n", $fileInfo) . "\n\n" . implode("\n\n\n", $classes)
. (($tmp = $builder->parameters['container']['class']) ? "\nclass $tmp extends $compiler->className {}\n" : '');
}


/**
* @deprecated
*/
protected function createCompiler()
{
return new DI\Compiler;
. (($tmp = $builder->parameters['container']['class']) ? "\nclass $tmp extends {$builder->getClassName()} {}\n" : '');
}


Expand Down

0 comments on commit 5b7c055

Please sign in to comment.