Completed
Push — master ( f30057...bd471f )
by Francesco
57s
created

NullDriver::setUserId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
4
namespace LaravelAmplitude\Drivers;
5
6
7
class NullDriver implements AmplitudeDriverInterface
8
{
9
    public function init($apiKey)
10
    {
11
        return;
12
    }
13
14
    public function setUserId($userId)
15
    {
16
        return;
17
    }
18
19
    public function setUserProperties($userProperties)
20
    {
21
        return;
22
    }
23
24
    public function sendEvent($name, $properties)
25
    {
26
        return;
27
    }
28
29
    public function queueEvent($name, $properties)
30
    {
31
        return;
32
    }
33
34
    public function sendQueuedEvents()
35
    {
36
        return;
37
    }
38
39
    public function getDriverName()
40
    {
41
        return 'null';
42
    }
43
}
44