class FlattenException

Same name in this branch

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

Basically, this class removes all objects from the trace.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of FlattenException

Deprecated

Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component instead.

5 files declare their use of FlattenException
ExceptionController.php in drupal/core/lib/Drupal/Core/Controller/ExceptionController.php
Contains \Drupal\Core\Controller\ExceptionController.
ExceptionControllerTest.php in drupal/core/modules/system/lib/Drupal/system/Tests/System/ExceptionControllerTest.php
ExceptionDataCollector.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/ExceptionDataCollector.php
ExceptionDataCollectorTest.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/DataCollector/ExceptionDataCollectorTest.php
ExceptionListener.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/FlattenException.php, line 25

Namespace

Symfony\Component\HttpKernel\Exception
View source
class FlattenException extends DebugFlattenException {

}

Members

Namesort descending Modifiers Type Description Overrides
FlattenException::$class private property
FlattenException::$code private property
FlattenException::$file private property
FlattenException::$headers private property
FlattenException::$line private property
FlattenException::$message private property
FlattenException::$previous private property
FlattenException::$statusCode private property
FlattenException::$trace private property
FlattenException::create public static function
FlattenException::flattenArgs private function
FlattenException::getAllPrevious public function
FlattenException::getClass public function
FlattenException::getClassNameFromIncomplete private function
FlattenException::getCode public function
FlattenException::getFile public function
FlattenException::getHeaders public function
FlattenException::getLine public function
FlattenException::getMessage public function
FlattenException::getPrevious public function
FlattenException::getStatusCode public function
FlattenException::getTrace public function
FlattenException::setClass public function
FlattenException::setCode public function
FlattenException::setFile public function
FlattenException::setHeaders public function
FlattenException::setLine public function
FlattenException::setMessage public function
FlattenException::setPrevious public function
FlattenException::setStatusCode public function
FlattenException::setTrace public function
FlattenException::setTraceFromException public function
FlattenException::toArray public function