Footer::setHtml()   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\MailSettings;
3
4
class Footer
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
     * @param boolean $enable
23
     * @return Footer
24
     */
25
    public function setEnable($enable)
26
    {
27
        $this->enable = $enable;
28
        return $this;
29
    }
30
31
    /**
32
     * @param string $text
33
     * @return Footer
34
     */
35
    public function setText($text)
36
    {
37
        $this->text = $text;
38
        return $this;
39
    }
40
41
    /**
42
     * @param string $html
43
     * @return Footer
44
     */
45
    public function setHtml($html)
46
    {
47
        $this->html = $html;
48
        return $this;
49
    }
50
51
52
}
53