Completed
Push — master ( 8c1c32...dfc2a9 )
by Tomasz
02:46
created

NullQueueManager   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 75%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 4
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 30
ccs 6
cts 8
cp 0.75
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A addSendDriver() 0 4 1
A addCommandRoute() 0 3 1
A sendCommand() 0 4 1
A setSendDriver() 0 4 1
1
<?php
2
3
namespace Gendoria\CommandQueue\QueueManager;
4
5
use Gendoria\CommandQueue\Command\CommandInterface;
6
use Gendoria\CommandQueue\SendDriver\SendDriverInterface;
7
8
/**
9
 * Description of NullQueueManager
10
 *
11
 * @author Tomasz Struczyński <[email protected]>
12
 */
13
class NullQueueManager implements MultipleQueueManagerInterface, CommandRouterInterface, SingleQueueManagerInterface
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18 1
    public function addSendDriver($pool, SendDriverInterface $sendDriver, $isDefault = false)
19
    {
20
        
21 1
    }
22
    
23
    /**
24
     * {@inheritdoc}
25
     */
26 1
    public function addCommandRoute($commandExpression, $poolName)
27
    {
28 1
    }
29
    
30
    /**
31
     * {@inheritdoc}
32
     */
33 1
    public function sendCommand(CommandInterface $command)
34
    {
35
        
36 1
    }
37
38
    public function setSendDriver(SendDriverInterface $sendDriver)
39
    {
40
        
41
    }
42
}
43