diff options
author | Carlo <carlo@phpbbitalia.net> | 2014-07-15 11:36:51 +0200 |
---|---|---|
committer | Carlo <carlo@phpbbitalia.net> | 2014-07-15 11:36:51 +0200 |
commit | 15136e4f8e36ca972f6b1b0bb7a4867967698335 (patch) | |
tree | 43506c468517ff4a2d1101efcfc3a96596a8ebb1 /phpBB/phpbb/console/application.php | |
parent | a54f1275d03b4fcccfa1005cce5cae2f344e567e (diff) | |
download | forums-15136e4f8e36ca972f6b1b0bb7a4867967698335.tar forums-15136e4f8e36ca972f6b1b0bb7a4867967698335.tar.gz forums-15136e4f8e36ca972f6b1b0bb7a4867967698335.tar.bz2 forums-15136e4f8e36ca972f6b1b0bb7a4867967698335.tar.xz forums-15136e4f8e36ca972f6b1b0bb7a4867967698335.zip |
[ticket/12685] Inject console.command_collection instead of the container
PHPBB3-12685
Diffstat (limited to 'phpBB/phpbb/console/application.php')
-rw-r--r-- | phpBB/phpbb/console/application.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/application.php b/phpBB/phpbb/console/application.php index 5cda90208a..5202a1fbaf 100644 --- a/phpBB/phpbb/console/application.php +++ b/phpBB/phpbb/console/application.php @@ -80,11 +80,11 @@ class application extends \Symfony\Component\Console\Application /** * Register a set of commands from the container * - * @param ContainerInterface $container The container + * @param \phpbb\di\service_collection $command_collection The console service collection */ - public function register_container_commands(ContainerInterface $container) + public function register_container_commands(\phpbb\di\service_collection $command_collection) { - foreach ($container->get('console.command_collection') as $service_command) + foreach ($command_collection as $service_command) { $this->add($service_command); } |