Наследование: extends Monolog\Handler\AbstractProcessingHandler, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Пример #1
0
 /**
  * Tests that the handle() method returns false if there is no Contao context.
  */
 public function testFalseWithoutContaoContext()
 {
     $record = ['level' => Logger::DEBUG, 'extra' => ['contao' => null], 'context' => []];
     $handler = new ContaoTableHandler();
     $this->assertFalse($handler->handle($record));
 }