GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 5d8585...19996e )
by Alexander
85:54 queued 60:54
created

ConfiguratorSet   A

Complexity

Total Complexity 10

Size/Duplication

Total Lines 123
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 3
Bugs 1 Features 2
Metric Value
wmc 10
c 3
b 1
f 2
lcom 0
cbo 1
dl 0
loc 123
ccs 0
cts 45
cp 0
rs 10

10 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 6 1
A getName() 0 4 1
A setName() 0 6 1
A isPublic() 0 4 1
A setPublic() 0 6 1
A getType() 0 4 1
A setType() 0 6 1
A getGroups() 0 4 1
A setGroups() 0 6 1
1
<?php
2
/**
3
 * LeadCommerce\Shopware\SDK\Entity
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
namespace LeadCommerce\Shopware\SDK\Entity;
11
12
/**
13
 * Class ConfiguratorSet
14
 */
15
class ConfiguratorSet extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var string
23
     */
24
    protected $name;
25
    /**
26
     * @var bool
27
     */
28
    protected $public;
29
    /**
30
     * @var int
31
     */
32
    protected $type;
33
    /**
34
     * @var ConfiguratorGroup[]
35
     */
36
    protected $groups;
37
38
    /**
39
     * @return int
40
     */
41
    public function getId()
42
    {
43
        return $this->id;
44
    }
45
46
    /**
47
     * @param int $id
48
     *
49
     * @return ConfiguratorSet
50
     */
51
    public function setId($id)
52
    {
53
        $this->id = $id;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getName()
62
    {
63
        return $this->name;
64
    }
65
66
    /**
67
     * @param string $name
68
     *
69
     * @return ConfiguratorSet
70
     */
71
    public function setName($name)
72
    {
73
        $this->name = $name;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @return bool
80
     */
81
    public function isPublic()
82
    {
83
        return $this->public;
84
    }
85
86
    /**
87
     * @param bool $public
88
     *
89
     * @return ConfiguratorSet
90
     */
91
    public function setPublic($public)
92
    {
93
        $this->public = $public;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return int
100
     */
101
    public function getType()
102
    {
103
        return $this->type;
104
    }
105
106
    /**
107
     * @param int $type
108
     *
109
     * @return ConfiguratorSet
110
     */
111
    public function setType($type)
112
    {
113
        $this->type = $type;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @return ConfiguratorGroup[]
120
     */
121
    public function getGroups()
122
    {
123
        return $this->groups;
124
    }
125
126
    /**
127
     * @param ConfiguratorGroup[] $groups
128
     *
129
     * @return ConfiguratorSet
130
     */
131
    public function setGroups($groups)
132
    {
133
        $this->groups = $groups;
134
135
        return $this;
136
    }
137
}
138