public function TestLogger::countErrors in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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
Namespace
Symfony\Component\HttpKernel\Tests\EventListenerCode
public function countErrors() {
return count($this->logs['critical']);
}