You are here

public function FlattenException::setCode in Zircon Profile 8.0

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

File

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

Class

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

Namespace

Symfony\Component\HttpKernel\Exception

Code

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