public function TestLogger::countErrors

Returns the number of errors.

Return value

integer The number of errors

Overrides DebugLoggerInterface::countErrors

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/EventListener/ExceptionListenerTest.php, line 118

Class

TestLogger

Namespace

Symfony\Component\HttpKernel\Tests\EventListener

Code

public function countErrors() {
  return count($this->logs['critical']);
}