Asm::setGroupsToDisplay()   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 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
namespace Sichikawa\SendgridApiBuilder\Api;
3
4
class Asm
5
{
6
    /**
7
     * @var int
8
     */
9
    public $group_id;
10
11
    /**
12
     * @var array[int]
13
     */
14
    public $groups_to_display;
15
16
    /**
17
     * @param int $group_id
18
     * @return Asm
19
     */
20
    public function setGroupId($group_id)
21
    {
22
        $this->group_id = $group_id;
23
        return $this;
24
    }
25
26
    /**
27
     * @param array $groups_to_display
28
     * @return Asm
29
     */
30
    public function setGroupsToDisplay($groups_to_display)
31
    {
32
        $this->groups_to_display = $groups_to_display;
33
        return $this;
34
    }
35
}
36