You are here

public function FlattenException::setStatusCode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/debug/Exception/FlattenException.php \Symfony\Component\HttpKernel\Exception\FlattenException::setStatusCode()

File

vendor/symfony/debug/Exception/FlattenException.php, line 123

Class

FlattenException
FlattenException wraps a PHP Exception to be able to serialize it.

Namespace

Symfony\Component\HttpKernel\Exception

Code

public function setStatusCode($code) {
  $this->statusCode = $code;
}