Skip to content

Commit

Permalink
ApplicationExtension: adds 'Nette\Application\UI\Control' to excluded…
Browse files Browse the repository at this point in the history
… classes
  • Loading branch information
dg committed Jan 25, 2015
1 parent 4d07c2e commit b713574
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Bridges/ApplicationDI/ApplicationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function loadConfiguration()
{
$config = $this->validateConfig($this->defaults);
$container = $this->getContainerBuilder();
$container->addExcludedClasses(array('Nette\Application\UI\Control'));

$application = $container->addDefinition($this->prefix('application'))
->setClass('Nette\Application\Application')
Expand Down

0 comments on commit b713574

Please sign in to comment.