Cc   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace Sichikawa\SendgridApiBuilder\Api\Personalize;
3
4
class Cc
5
{
6
    /**
7
     * @var string
8
     */
9
    public $email;
10
11
    /**
12
     * @var string
13
     */
14
    public $name;
15
16
    /**
17
     * Cc constructor.
18
     * @param $email
19
     * @param null $name
20
     */
21
    public function __construct($email, $name = null)
22
    {
23
        $this->email = $email;
24
        $this->name = $name;
25
    }
26
}
27