Пример #1
0
 protected function getMonolog_Handler_ConsoleService()
 {
     $this->services['monolog.handler.console'] = $instance = new \Symfony\Bridge\Monolog\Handler\ConsoleHandler(NULL, true, array());
     $instance->pushProcessor(${($_ = isset($this->services['monolog.processor.psr_log_message']) ? $this->services['monolog.processor.psr_log_message'] : $this->getMonolog_Processor_PsrLogMessageService()) && false ?: '_'});
     return $instance;
 }
 /**
  * Gets the 'monolog.handler.console' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bridge\Monolog\Handler\ConsoleHandler A Symfony\Bridge\Monolog\Handler\ConsoleHandler instance
  */
 protected function getMonolog_Handler_ConsoleService()
 {
     $this->services['monolog.handler.console'] = $instance = new \Symfony\Bridge\Monolog\Handler\ConsoleHandler(NULL, true, array());
     $instance->pushProcessor($this->get('monolog.processor.psr_log_message'));
     return $instance;
 }