Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 44e6a5d

Browse filesBrowse files
lsmith77fabpot
authored andcommitted
added exception_controller config option
1 parent afad113 commit 44e6a5d
Copy full SHA for 44e6a5d

File tree

Expand file treeCollapse file tree

2 files changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-0
lines changed

‎src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public function getConfigTree($kernelDebug)
2828
->scalarNode('charset')->end()
2929
->scalarNode('document_root')->end()
3030
->scalarNode('error_handler')->end()
31+
->scalarNode('exception_controller')->end()
3132
->scalarNode('ide')->end()
3233
->booleanNode('test')->end()
3334
;

‎src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ public function configLoad(array $configs, ContainerBuilder $container)
7878
}
7979
}
8080

81+
if (isset($config['exception_controller'])) {
82+
$container->setParameter('exception_listener.controller', $config['exception_controller']);
83+
}
84+
8185
if (isset($config['ide'])) {
8286
$patterns = array(
8387
'textmate' => 'txmt://open?url=file://%%f&line=%%l',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.