Completed
Push — master ( 4fd290...6abcb6 )
by Tomasz
03:28
created

NullQueueManager   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A addSendDriver() 0 3 1
A addCommandRoute() 0 3 1
A sendCommand() 0 3 1
A setSendDriver() 0 3 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 1
    }
21
    
22
    /**
23
     * {@inheritdoc}
24
     */
25 1
    public function addCommandRoute($commandExpression, $poolName)
26
    {
27 1
    }
28
    
29
    /**
30
     * {@inheritdoc}
31
     */
32 1
    public function sendCommand(CommandInterface $command)
33
    {
34 1
    }
35
36
    /**
37
     * {@inheritdoc}
38
     */
39 1
    public function setSendDriver(SendDriverInterface $sendDriver)
40
    {
41 1
    }
42
}
43