Passed
Push — master ( 8a23c2...e496ae )
by Christian
13:05 queued 10s
created

ThemeConfigField::setSection()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace Shopware\Storefront\Theme;
4
5
use Shopware\Core\Framework\Struct\Struct;
6
7
class ThemeConfigField extends Struct
8
{
9
    /**
10
     * @var string
11
     */
12
    protected $name;
13
14
    /**
15
     * @var array
16
     */
17
    protected $label;
18
19
    /**
20
     * @var array|null
21
     */
22
    protected $helpText;
23
24
    /**
25
     * @var string
26
     */
27
    protected $type;
28
29
    protected $value;
30
31
    /**
32
     * @var bool|null
33
     */
34
    protected $editable;
35
36
    /**
37
     * @var string|null
38
     */
39
    protected $block;
40
41
    /**
42
     * @var string|null
43
     */
44
    protected $section;
45
46
    /**
47
     * @var string|null
48
     */
49
    protected $tab;
50
51
    /**
52
     * @var int|null
53
     */
54
    protected $order;
55
56
    /**
57
     * @var int|null
58
     */
59
    protected $sectionOrder;
60
61
    /**
62
     * @var int|null
63
     */
64
    protected $blockOrder;
65
66
    /**
67
     * @var int|null
68
     */
69
    protected $tabOrder;
70
71
    /**
72
     * @var array|null
73
     */
74
    protected $custom;
75
76
    /**
77
     * @var bool|null
78
     */
79
    protected $scss;
80
81
    /**
82
     * @var bool|null
83
     */
84
    protected $fullWidth;
85
86
    public function getName(): string
87
    {
88
        return $this->name;
89
    }
90
91
    public function setName(string $name): void
92
    {
93
        $this->name = $name;
94
    }
95
96
    public function getLabel(): ?array
97
    {
98
        return $this->label;
99
    }
100
101
    public function setLabel(?array $label): void
102
    {
103
        $this->label = $label;
104
    }
105
106
    public function getType(): string
107
    {
108
        return $this->type;
109
    }
110
111
    public function setType(string $type): void
112
    {
113
        $this->type = $type;
114
    }
115
116
    public function getValue()
117
    {
118
        return $this->value;
119
    }
120
121
    public function setValue($value): void
122
    {
123
        $this->value = $value;
124
    }
125
126
    public function getEditable(): ?bool
127
    {
128
        return $this->editable;
129
    }
130
131
    public function setEditable(?bool $editable): void
132
    {
133
        $this->editable = $editable;
134
    }
135
136
    public function getBlock(): ?string
137
    {
138
        return $this->block;
139
    }
140
141
    public function setBlock(?string $block): void
142
    {
143
        $this->block = $block;
144
    }
145
146
    public function getSection(): ?string
147
    {
148
        return $this->section;
149
    }
150
151
    public function setSection(?string $section): void
152
    {
153
        $this->section = $section;
154
    }
155
156
    public function getTab(): ?string
157
    {
158
        return $this->tab;
159
    }
160
161
    public function setTab(?string $tab): void
162
    {
163
        $this->tab = $tab;
164
    }
165
166
    public function getOrder(): ?int
167
    {
168
        return $this->order;
169
    }
170
171
    public function setOrder(?int $order): void
172
    {
173
        $this->order = $order;
174
    }
175
176
    public function getTabOrder(): ?int
177
    {
178
        return $this->tabOrder;
179
    }
180
181
    public function setTabOrder(?int $tabOrder): void
182
    {
183
        $this->tabOrder = $tabOrder;
184
    }
185
186
    public function getSectionOrder(): ?int
187
    {
188
        return $this->sectionOrder;
189
    }
190
191
    public function setSectionOrder(?int $sectionOrder): void
192
    {
193
        $this->sectionOrder = $sectionOrder;
194
    }
195
196
    public function getBlockOrder(): ?int
197
    {
198
        return $this->blockOrder;
199
    }
200
201
    public function setBlockOrder(?int $blockOrder): void
202
    {
203
        $this->blockOrder = $blockOrder;
204
    }
205
206
    public function getHelpText(): ?array
207
    {
208
        return $this->helpText;
209
    }
210
211
    public function setHelpText(?array $helpText): void
212
    {
213
        $this->helpText = $helpText;
214
    }
215
216
    public function getCustom(): ?array
217
    {
218
        return $this->custom;
219
    }
220
221
    public function setCustom(?array $custom): void
222
    {
223
        $this->custom = $custom;
224
    }
225
226
    public function getScss(): ?bool
227
    {
228
        return $this->scss;
229
    }
230
231
    public function setScss(?bool $scss): void
232
    {
233
        $this->scss = $scss;
234
    }
235
236
    public function getFullWidth(): ?bool
237
    {
238
        return $this->fullWidth;
239
    }
240
241
    public function setFullWidth(?bool $fullWidth): void
242
    {
243
        $this->fullWidth = $fullWidth;
244
    }
245
}
246