Skip to content

Commit

Permalink
ConfigListener now implements ListenerAggregateInterface, so we don't…
Browse files Browse the repository at this point in the history
… need to use __invoke for attach any more. Besides, __invoke calls a function that doesn't exist any more, it's quite confused.
  • Loading branch information
peterwang committed Dec 12, 2012
1 parent 37277ab commit fea25cf
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions library/Zend/ModuleManager/Listener/ConfigListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,6 @@ public function __construct(ListenerOptions $options = null)
}
}

/**
* __invoke proxy to loadModule for easier attaching
*
* @param ModuleEvent $e
* @return ConfigListener
*/
public function __invoke(ModuleEvent $e)
{
return $this->loadModule($e);
}

/**
* Attach one or more listeners
*
Expand Down

0 comments on commit fea25cf

Please sign in to comment.