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

NullQueueManager::setSendDriver()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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