[MonologBundle] Removed useless variable and fixed phpdoc

This commit is contained in:
Christophe Coevoet 2011-03-18 13:58:02 +01:00
parent 46c9d350b0
commit 3d7e68ec1c

View File

@ -18,14 +18,12 @@ use Symfony\Component\DependencyInjection\Definition;
use Monolog\Logger; use Monolog\Logger;
/** /**
* Replaces the default logger by another one with its own channel for tagged services. * Adds the DebugHandler when the profiler is enabled.
* *
* @author Christophe Coevoet <stof@notk.org> * @author Christophe Coevoet <stof@notk.org>
*/ */
class DebugHandlerPass implements CompilerPassInterface class DebugHandlerPass implements CompilerPassInterface
{ {
protected $channels = array();
public function process(ContainerBuilder $container) public function process(ContainerBuilder $container)
{ {
if (!$container->hasDefinition('monolog.logger_prototype') || !$container->hasDefinition('profiler')) { if (!$container->hasDefinition('monolog.logger_prototype') || !$container->hasDefinition('profiler')) {