ExceptionInterface

interface ExceptionInterface Base ExceptionInterface for the Asset component.

ExceptionInterface

interface ExceptionInterface Methods AdapterInterface getAdapter() Details AdapterInterface getAdapter() Return Value AdapterInterface

ExceptionInterface

interface ExceptionInterface Interface for exceptions. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

ExceptionInterface

interface ExceptionInterface Base ExceptionInterface for the Form component.

ExceptionHandler deprecated

class ExceptionHandler extends ExceptionHandler deprecated since version 2.3, to be removed in 3.0. Use the same class from the Debug component instead. ExceptionHandler converts an exception to a Response object. Methods __construct($debug = true, $charset = null, $fileLinkFormat = null) from ExceptionHandler static ExceptionHandler register(bool $debug = true, string|null $charset = null, string|null $fileLinkFormat = null) Registers the exception handler. from ExceptionHandl

ExceptionHandler

class ExceptionHandler ExceptionHandler converts an exception to a Response object. It is mostly useful in debug mode to replace the default PHP/XDebug output with something prettier and more useful. As this class is mainly used during Kernel boot, where nothing is yet available, the Response content is always HTML. Methods __construct($debug = true, $charset = null, $fileLinkFormat = null) static ExceptionHandler register(bool $debug = true, string|null $charset = null, string|nul

ExceptionDataCollector

class ExceptionDataCollector extends DataCollector ExceptionDataCollector. Methods serialize() from DataCollector unserialize($data) from DataCollector collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. bool hasException() Checks if the exception is not null. Exception getException() Gets the exception. string getMessage() Gets the exception message. int getCode() Gets the exception co

ExceptionController

class ExceptionController ExceptionController renders error or exception pages for a given FlattenException. Methods __construct(Twig_Environment $twig, $debug) Response showAction(Request $request, FlattenException $exception, DebugLoggerInterface $logger = null) Converts an Exception to a Response. Details __construct(Twig_Environment $twig, $debug) Parameters Twig_Environment $twig $debug Response show

ExceptionController

class ExceptionController ExceptionController. Methods __construct(Profiler $profiler = null, Twig_Environment $twig, $debug) Response showAction(string $token) Renders the exception panel for the given token. Response cssAction(string $token) Renders the exception panel stylesheet for the given token. Details __construct(Profiler $profiler = null, Twig_Environment $twig, $debug) Parameters Profiler $profiler Twig_Environment $twig

Exception

class Exception extends RuntimeException Base exception for all configuration exceptions.