Completed
Push — master ( 396778...5e0c6d )
by Changwan
03:27
created

NullAdapter::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 8
nc 1
nop 4
dl 0
loc 12
ccs 0
cts 12
cp 0
crap 2
rs 9.4285
c 0
b 0
f 0
1
<?php
2
namespace Wandu\Q\Adapter;
3
4
use Wandu\Q\Contracts\AdapterInterface;
5
use Wandu\Q\Contracts\SerializerInterface;
6
7
class NullAdapter implements AdapterInterface
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12
    public function enqueue(SerializerInterface $serializer, $payload)
13
    {
14
    }
15
16
    /**
17
     * {@inheritdoc}
18
     */
19
    public function dequeue(SerializerInterface $serializer)
20
    {
21
    }
22
}
23