You are here

public function LoggerDataCollector::countErrors in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php \Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector::countErrors()

Gets the called events.

Return value

array An array of called events

See also

TraceableEventDispatcherInterface

File

vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php, line 60

Class

LoggerDataCollector
LogDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function countErrors() {
  return isset($this->data['error_count']) ? $this->data['error_count'] : 0;
}