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

NullQueueManager::addCommandRoute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

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