PHP Class Symfony\Bundle\FrameworkBundle\Controller\ExceptionController

Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller
Datei anzeigen Open project: pmjones/php-framework-benchmarks

Public Methods

Method Description
exceptionAction ( FlattenException $exception, Symfony\Component\HttpKernel\Log\DebugLoggerInterface $logger = null, string $format = 'html' ) Converts an Exception to a Response.
showAction ( FlattenException $exception, Symfony\Component\HttpKernel\Log\DebugLoggerInterface $logger = null, string $format = 'html' ) Converts an Exception to a Response.

Protected Methods

Method Description
findTemplate ( $templating, $format, $code, $debug )

Method Details

exceptionAction() public method

Converts an Exception to a Response.
public exceptionAction ( FlattenException $exception, Symfony\Component\HttpKernel\Log\DebugLoggerInterface $logger = null, string $format = 'html' )
$exception Symfony\Component\HttpKernel\Exception\FlattenException A FlattenException instance
$logger Symfony\Component\HttpKernel\Log\DebugLoggerInterface A DebugLoggerInterface instance
$format string The format to use for rendering (html, xml, ...)

findTemplate() protected method

protected findTemplate ( $templating, $format, $code, $debug )

showAction() public method

Converts an Exception to a Response.
public showAction ( FlattenException $exception, Symfony\Component\HttpKernel\Log\DebugLoggerInterface $logger = null, string $format = 'html' )
$exception Symfony\Component\HttpKernel\Exception\FlattenException A FlattenException instance
$logger Symfony\Component\HttpKernel\Log\DebugLoggerInterface A DebugLoggerInterface instance
$format string The format to use for rendering (html, xml, ...)