Content::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
namespace Sichikawa\SendgridApiBuilder\Api;
3
4
5
class Content
6
{
7
    /**
8
     * @var string
9
     */
10
    public $type;
11
12
    /**
13
     * @var string
14
     */
15
    public $value;
16
17
    /**
18
     * Content constructor.
19
     * @param string $type
20
     * @param string $value
21
     */
22
    public function __construct($type, $value)
23
    {
24
        $this->type = $type;
25
        $this->value = $value;
26
    }
27
}
28