OpenTracking::setEnable()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
namespace Sichikawa\SendgridApiBuilder\Api\TrackingSettings;
3
4
class OpenTracking
5
{
6
    /**
7
     * @var bool
8
     */
9
    public $enable;
10
11
    /**
12
     * @var string
13
     */
14
    public $substitution_tag;
15
16
    /**
17
     * @param boolean $enable
18
     * @return OpenTracking
19
     */
20
    public function setEnable($enable)
21
    {
22
        $this->enable = $enable;
23
        return $this;
24
    }
25
26
    /**
27
     * @param string $substitution_tag
28
     * @return OpenTracking
29
     */
30
    public function setSubstitutionTag($substitution_tag)
31
    {
32
        $this->substitution_tag = $substitution_tag;
33
        return $this;
34
    }
35
36
37
}
38