BaseRabbitMqCommand   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 18
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getContainer() 0 3 1
A setContainer() 0 3 1
1
<?php
2
3
namespace OldSound\RabbitMqBundle\Command;
4
5
use Symfony\Component\DependencyInjection\ContainerInterface;
6
use Symfony\Component\Console\Command\Command;
7
8
abstract class BaseRabbitMqCommand extends Command
9
{
10
    /**
11
     * @var ContainerInterface
12
     */
13
    protected $container;
14
15
    public function setContainer(?ContainerInterface $container = null): void
16
    {
17
        $this->container = $container;
18
    }
19
20
    /**
21
     * @return ContainerInterface
22
     */
23
    public function getContainer()
24
    {
25
        return $this->container;
26
    }
27
}
28