ManagerCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace JobQueue\Application\Console;
4
5
use JobQueue\Domain\Task\Queue;
6
use Symfony\Component\Console\Command\Command;
7
8
abstract class ManagerCommand extends Command
9
{
10
    /**
11
     *
12
     * @var Queue
13
     */
14
    protected $queue;
15
16
    /**
17
     *
18
     * @param Queue  $queue
19
     * @param string $name
20
     */
21
    public function __construct(Queue $queue, string $name = null)
22
    {
23
        $this->queue = $queue;
24
25
        parent::__construct($name);
26
    }
27
}
28