ConsumerCommand::configure()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 3
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 5
ccs 4
cts 4
cp 1
crap 1
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