aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-08-24 12:04:22 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-08-25 22:24:28 +0200
commit17e7a89a60f700efc8a0b082b7a82005e6288e80 (patch)
tree628505c1a127ba5b531e4bb24bda4f659bb7317d /phpBB/config/default
parentf6a4843c6df3a9b0490eb3d273ebed7d04a89582 (diff)
downloadforums-17e7a89a60f700efc8a0b082b7a82005e6288e80.tar
forums-17e7a89a60f700efc8a0b082b7a82005e6288e80.tar.gz
forums-17e7a89a60f700efc8a0b082b7a82005e6288e80.tar.bz2
forums-17e7a89a60f700efc8a0b082b7a82005e6288e80.tar.xz
forums-17e7a89a60f700efc8a0b082b7a82005e6288e80.zip
[ticket/14124] Automatically translate exceptions in CLI
PHPBB3-14124
Diffstat (limited to 'phpBB/config/default')
-rw-r--r--phpBB/config/default/container/services_console.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml
index aee3cbdee6..71b6244e13 100644
--- a/phpBB/config/default/container/services_console.yml
+++ b/phpBB/config/default/container/services_console.yml
@@ -1,4 +1,12 @@
services:
+ console.exception_subscriber:
+ class: phpbb\console\exception_subscriber
+ arguments:
+ - @language
+ - %debug.exceptions%
+ tags:
+ - { name: kernel.event_subscriber }
+
console.command_collection:
class: phpbb\di\service_collection
arguments: