You are here

public function ExceptionDataCollector::getStatusCode 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::getStatusCode()

Gets the status code.

Return value

int The status code

File

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

Class

ExceptionDataCollector
ExceptionDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

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