ReportTicket   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 43
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getReportId() 0 4 1
A setReportId() 0 4 1
A getCached() 0 4 1
A setCached() 0 4 1
1
<?php
2
3
namespace Audiens\AppnexusClient\entity;
4
5
class ReportTicket
6
{
7
8
    use HydratableTrait;
9
10
    /** @var  int|null */
11
    protected $report_id;
12
13
    /** @var  bool */
14
    protected $cached;
15
16
    /**
17
     * @return int|null
18
     */
19
    public function getReportId()
20
    {
21
        return $this->report_id;
22
    }
23
24
    /**
25
     * @param int|null $report_id
26
     */
27
    public function setReportId($report_id)
28
    {
29
        $this->report_id = $report_id;
30
    }
31
32
    /**
33
     * @return bool
34
     */
35
    public function getCached()
36
    {
37
        return $this->cached;
38
    }
39
40
    /**
41
     * @param bool $cached
42
     */
43
    public function setCached($cached)
44
    {
45
        $this->cached = $cached;
46
    }
47
}
48