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

NullQueueManager::setSendDriver()   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 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 1
nc 1
nop 1
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 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