1 | <?php |
||
14 | class PurgeCommand extends ContainerAwareCommand |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | protected function configure() |
||
20 | { |
||
21 | $this |
||
22 | ->setName('uber:translations:purge') |
||
23 | ->setDefinition(array()) |
||
24 | ->setDescription('Remove all items from memcached') |
||
25 | ->setHelp(" |
||
26 | The <info>uber:translations:purge</info> command delete all translations from memcached: |
||
27 | |||
28 | Command example: |
||
29 | |||
30 | <info>./app/console uber:translations:purge</info> |
||
31 | |||
32 | "); |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | protected function execute(InputInterface $input, OutputInterface $output) |
||
52 | } |
||
53 |