diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.php index ed9823992029..f114c10995c2 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.php +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.php @@ -8,7 +8,7 @@
-

formatFileFromText(str_replace("\n", '
', htmlspecialchars($exception->getMessage(), ENT_QUOTES, $view->getCharset()))) ?>

+

get('code')->formatFileFromText(str_replace("\n", '
', htmlspecialchars($exception->getMessage(), ENT_QUOTES, $view->getCharset()))) ?>

getStatusCode() ?> getStatusText() ?> - getClass() ?>

getPreviouses())): ?> @@ -16,7 +16,7 @@ diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/layout.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/layout.php index 5de199732f7f..1af24063e8aa 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/layout.php +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/layout.php @@ -29,7 +29,7 @@ function toggle(id, clazz) {
- get('_content') ?> + get('slots')->get('_content') ?>
diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.php index 8eba45f84e78..365646eb4200 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.php +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.php @@ -1,10 +1,10 @@ - at (formatArgs($trace['args']) ?>)
+ at (get('code')->formatArgs($trace['args']) ?>)
- in formatFile($trace['file'], $trace['line']) ?> + in get('code')->formatFile($trace['file'], $trace['line']) ?> »
diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.txt.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.txt.php index 6a047d092063..fd96e428d6d5 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.txt.php +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.txt.php @@ -1,5 +1,5 @@ - at (formatArgsAsText($trace['args']) ?>) + at (get('code')->formatArgsAsText($trace['args']) ?>) at n/a diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/traces.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/traces.php index 8abcbfde82b4..0d9156819aee 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/traces.php +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/traces.php @@ -2,7 +2,7 @@ 0): ?>

/ - abbrClass($exception->getClass()) ?>: ', htmlspecialchars($exception->getMessage(), ENT_QUOTES, $view->getCharset())) ?> + get('code')->abbrClass($exception->getClass()) ?>: ', htmlspecialchars($exception->getMessage(), ENT_QUOTES, $view->getCharset())) ?> »