handle() публичный Метод

public handle ( array $record )
$record array
Пример #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));
 }