SubscriptionTracking   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 64
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setEnable() 0 5 1
A setText() 0 5 1
A setHtml() 0 5 1
A setSubstitutionTag() 0 5 1
1
<?php
2
namespace Sichikawa\SendgridApiBuilder\Api\TrackingSettings;
3
4
class SubscriptionTracking
5
{
6
    /**
7
     * @var bool
8
     */
9
    public $enable;
10
11
    /**
12
     * @var string
13
     */
14
    public $text;
15
16
    /**
17
     * @var string
18
     */
19
    public $html;
20
21
    /**
22
     * @var string
23
     */
24
    public $substitution_tag;
25
26
    /**
27
     * @param boolean $enable
28
     * @return SubscriptionTracking
29
     */
30
    public function setEnable($enable)
31
    {
32
        $this->enable = $enable;
33
        return $this;
34
    }
35
36
    /**
37
     * @param string $text
38
     * @return SubscriptionTracking
39
     */
40
    public function setText($text)
41
    {
42
        $this->text = $text;
43
        return $this;
44
    }
45
46
    /**
47
     * @param string $html
48
     * @return SubscriptionTracking
49
     */
50
    public function setHtml($html)
51
    {
52
        $this->html = $html;
53
        return $this;
54
    }
55
56
    /**
57
     * @param string $substitution_tag
58
     * @return SubscriptionTracking
59
     */
60
    public function setSubstitutionTag($substitution_tag)
61
    {
62
        $this->substitution_tag = $substitution_tag;
63
        return $this;
64
    }
65
66
67
}
68