DataProviderAudience::getUnique()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace Audiens\AdForm\Entity;
4
5
use DateTime;
6
7
/**
8
 * Class Category
9
 */
10
class DataProviderAudience
11
{
12
    /** @var string|null */
13
    protected $dataProvider;
14
15
    /** @var int|null */
16
    protected $dataProviderId;
17
18
    /** @var int|null */
19
    protected $total;
20
21
    /** @var int|null */
22
    protected $unique;
23
24
    /** @var int|null */
25
    protected $totalHits;
26
27
    /** @var int|null */
28
    protected $uniqueHits;
29
30
    /** @var DateTime|null */
31
    protected $date;
32
33
    public function getDataProvider(): ?string
34
    {
35
        return $this->dataProvider;
36
    }
37
38
    public function getDataProviderId(): ?int
39
    {
40
        return $this->dataProviderId;
41
    }
42
43
    public function getTotal(): ?int
44
    {
45
        return $this->total;
46
    }
47
48
    public function getUnique(): ?int
49
    {
50
        return $this->unique;
51
    }
52
53
    public function getTotalHits(): ?int
54
    {
55
        return $this->totalHits;
56
    }
57
58
    public function getUniqueHits(): ?int
59
    {
60
        return $this->uniqueHits;
61
    }
62
63
    public function getDate(): ?DateTime
64
    {
65
        return $this->date;
66
    }
67
}
68