Spec-Zone.ru › Symfony 2.8

FlattenException

class FlattenException extends FlattenException

FlattenException оборачивает исключение PHP, чтобы можно было его сериализовать.

В основном, этот класс удаляет все объекты из трассировки.

Методы

static __callStatic($method, $args) из FlattenException
__call($method, $args) из FlattenException
static create(Exception $exception, $statusCode = null, array $headers = array())
toArray()
getStatusCode()
setStatusCode($code)
getHeaders()
setHeaders(array $headers)
getClass()
setClass($class)
getFile()
setFile($file)
getLine()
setLine($line)
getMessage()
setMessage($message)
getCode()
setCode($code)
getPrevious()
setPrevious(FlattenException $previous)
getAllPrevious()
getTrace()
setTraceFromException(Exception $exception)
setTrace($trace, $file, $line)

Подробности

static __callStatic($method, $args)

Параметры

$method
$args

__call($method, $args)

Параметры

$method
$args

static create(Exception $exception, $statusCode = null, array $headers = array())

Параметры

Exception $exception
$statusCode
array $headers

toArray()

getStatusCode()

setStatusCode($code)

Параметры

$code

getHeaders()

setHeaders(array $headers)

Параметры

array $headers

getClass()

setClass($class)

Параметры

$class

getFile()

setFile($file)

Параметры

$file

getLine()

setLine($line)

Параметры

$line

getMessage()

setMessage($message)

Параметры

$message

getCode()

setCode($code)

Параметры

$code

getPrevious()

setPrevious(FlattenException $previous)

Параметры

FlattenException $previous

getAllPrevious()

getTrace()

setTraceFromException(Exception $exception)

Параметры

Exception $exception

setTrace($trace, $file, $line)

Параметры

$trace
$file
$line

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Debug/Exception/FlattenException.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API