ConsumerCommand::getConsumerService()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
namespace OldSound\RabbitMqBundle\Command;
4
5
class ConsumerCommand extends BaseConsumerCommand
6
{
7 1
    protected function configure()
8
    {
9 1
        parent::configure();
10 1
        $this->setDescription('Executes a consumer');
11 1
        $this->setName('rabbitmq:consumer');
12 1
    }
13
14
    protected function getConsumerService()
15
    {
16
        return 'old_sound_rabbit_mq.%s_consumer';
17
    }
18
}
19