aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/application.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-11-27 14:55:05 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-11-27 14:55:24 +0100
commit33f4d267ef9a3b65a1fbda82afa13ecc486b5c80 (patch)
tree2e19c6d0b72144d50197c01dcc2ad000913553ef /phpBB/phpbb/console/application.php
parent0d4bf3ff45a76dcb763c76502944aa7bf78b690b (diff)
parent125e76f9aa83141534387a965e8373c9b9cd5c4d (diff)
downloadforums-33f4d267ef9a3b65a1fbda82afa13ecc486b5c80.tar
forums-33f4d267ef9a3b65a1fbda82afa13ecc486b5c80.tar.gz
forums-33f4d267ef9a3b65a1fbda82afa13ecc486b5c80.tar.bz2
forums-33f4d267ef9a3b65a1fbda82afa13ecc486b5c80.tar.xz
forums-33f4d267ef9a3b65a1fbda82afa13ecc486b5c80.zip
Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11842
Conflicts: phpBB/includes/acp/acp_groups.php
Diffstat (limited to 'phpBB/phpbb/console/application.php')
-rw-r--r--phpBB/phpbb/console/application.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/phpBB/phpbb/console/application.php b/phpBB/phpbb/console/application.php
new file mode 100644
index 0000000000..fdcd9d42f6
--- /dev/null
+++ b/phpBB/phpbb/console/application.php
@@ -0,0 +1,23 @@
+<?php
+/**
+*
+* @package phpBB3
+* @copyright (c) 2013 phpBB Group
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+*
+*/
+
+namespace phpbb\console;
+
+use Symfony\Component\DependencyInjection\TaggedContainerInterface;
+
+class application extends \Symfony\Component\Console\Application
+{
+ function register_container_commands(TaggedContainerInterface $container, $tag = 'console.command')
+ {
+ foreach($container->findTaggedServiceIds($tag) as $id => $void)
+ {
+ $this->add($container->get($id));
+ }
+ }
+}