Skip to content

Commit

Permalink
Remove deprecated setInject() [Fixes #52]
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Oct 30, 2015
1 parent d11dc36 commit 9b7aec1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Kdyby/Events/DI/EventsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ public function loadConfiguration()
}

$evm = $builder->addDefinition($this->prefix('manager'))
->setClass('Kdyby\Events\EventManager')
->setInject(FALSE);
->setClass('Kdyby\Events\EventManager');
if ($config['debugger']) {
$defaults = array('dispatchTree' => FALSE, 'dispatchLog' => TRUE, 'events' => TRUE, 'listeners' => FALSE);
if (is_array($config['debugger'])) {
Expand Down

0 comments on commit 9b7aec1

Please sign in to comment.