Completed
Pull Request — master (#38)
by Aleksandr
06:01
created

GroupConsumerCommand::configure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 4
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 7
rs 10
1
<?php
2
3
namespace OldSound\RabbitMqBundle\Command;
4
5
class GroupConsumerCommand extends BaseConsumerCommand
6
{
7
    protected function configure()
8
    {
9
        parent::configure();
10
11
        $this
12
            ->setName('rabbitmq:group:consumer')
13
            ->setDescription('Synchronous execute grouped consumers')
14
        ;
15
    }
16
17
    protected function getConsumerService()
18
    {
19
        return 'old_sound_rabbit_mq.%s_group';
20
    }
21
}