nette/nette — Issue #450: CompilerExtension::getContainer() has misleading name
Author: juzna
Created: 2012-01-05 12:42:39+00:00
State: open

What do you think this method should return? I guess `Container` (e.g. `Nette\DI\Container` or its descendant), as the name says. But it's not true, it returns `ContainerBuilder` ([here](https://github.com/nette/nette/blob/master/Nette/Config/CompilerExtension.php#L61)).

I propose this should be renamed to `containerBuilder` (or just `builder`) to make more sense.

(The same with `Compiler::getContainer()`, but that one is not that often used directly by app developers)