Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
FlattenException.php
function FlattenException::setCode
Return value
$this
File
vendor/
symfony/
error-handler/
Exception/
FlattenException.php
, line 250
Class
FlattenException
FlattenException wraps a PHP Error or Exception to be able to serialize it.
Namespace
Symfony\Component\ErrorHandler\Exception
Code
public
function
setCode
(int|string
$code
) : static {
$this
->
code
=
$code
;
return
$this
; }
RSS feed