1 | <?php |
||
14 | class DumpCommand extends ContainerAwareCommand |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | protected function configure() |
||
20 | { |
||
21 | $this |
||
22 | ->setName('uber:translations:dump') |
||
23 | ->setDefinition(array()) |
||
24 | ->setDescription('Dump translations what stores in memcached') |
||
25 | ->setHelp(" |
||
26 | The <info>uber:translations:dump</info> command dump all translations from memcahced and output to console: |
||
27 | |||
28 | <info>./app/console uber:translations:dumpe</info> |
||
29 | |||
30 | Command example: |
||
31 | |||
32 | <info>./app/console uber:translations:dump</info> |
||
33 | |||
34 | "); |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | protected function execute(InputInterface $input, OutputInterface $output) |
||
59 | } |
||
60 |