Passed
Pull Request — master (#631)
by Aleksandr
07:53
created

GroupConsumerCommand::getConsumerService()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 1
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
}