You are here

public function ExceptionDataCollector::hasException in Zircon Profile 8

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

Checks if the exception is not null.

Return value

bool true if the exception is not null, false otherwise

File

vendor/symfony/http-kernel/DataCollector/ExceptionDataCollector.php, line 42

Class

ExceptionDataCollector
ExceptionDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function hasException() {
  return isset($this->data['exception']);
}