aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/container/services_console.yml
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-12 14:20:58 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-07-09 09:21:50 +0200
commit98ab5478e6a74b4325f002c1a5daae9d6dbe80e1 (patch)
treec870bec32ef2d0178863b28373faf32b0b5601d8 /phpBB/config/default/container/services_console.yml
parent46e6a4e61fa6a38540aa87f37200f3007f10f13f (diff)
downloadforums-98ab5478e6a74b4325f002c1a5daae9d6dbe80e1.tar
forums-98ab5478e6a74b4325f002c1a5daae9d6dbe80e1.tar.gz
forums-98ab5478e6a74b4325f002c1a5daae9d6dbe80e1.tar.bz2
forums-98ab5478e6a74b4325f002c1a5daae9d6dbe80e1.tar.xz
forums-98ab5478e6a74b4325f002c1a5daae9d6dbe80e1.zip
[ticket/12692] Add a console command to manage the thumbnails
PHPBB3-12692
Diffstat (limited to 'phpBB/config/default/container/services_console.yml')
-rw-r--r--phpBB/config/default/container/services_console.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml
index f39218ed9c..15f597520c 100644
--- a/phpBB/config/default/container/services_console.yml
+++ b/phpBB/config/default/container/services_console.yml
@@ -156,3 +156,30 @@ services:
- @text_reparser_collection
tags:
- { name: console.command }
+
+ console.command.thumbnail.generate:
+ class: phpbb\console\command\thumbnail\generate
+ arguments:
+ - @dbal.conn
+ - @user
+ - @cache
+ - %core.root_path%
+ - %core.php_ext%
+ tags:
+ - { name: console.command }
+
+ console.command.thumbnail.recreate:
+ class: phpbb\console\command\thumbnail\recreate
+ arguments:
+ - @user
+ tags:
+ - { name: console.command }
+
+ console.command.thumbnail.delete:
+ class: phpbb\console\command\thumbnail\delete
+ arguments:
+ - @dbal.conn
+ - @user
+ - %core.root_path%
+ tags:
+ - { name: console.command }