You are here

public function TestLogger::countErrors in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/EventListener/ExceptionListenerTest.php \Symfony\Component\HttpKernel\Tests\EventListener\TestLogger::countErrors()

Returns the number of errors.

Return value

int The number of errors

Overrides DebugLoggerInterface::countErrors

File

vendor/symfony/http-kernel/Tests/EventListener/ExceptionListenerTest.php, line 126

Class

TestLogger

Namespace

Symfony\Component\HttpKernel\Tests\EventListener

Code

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