1 | <?php |
||
7 | class Configuration |
||
8 | { |
||
9 | /** |
||
10 | * @var int |
||
11 | */ |
||
12 | private $minLengthType; |
||
13 | |||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | private $maxLengthType; |
||
18 | |||
19 | /** |
||
20 | * @var bool |
||
21 | */ |
||
22 | private $acceptExtraType; |
||
23 | |||
24 | /** |
||
25 | * @var array |
||
26 | */ |
||
27 | private $types; |
||
28 | |||
29 | /** |
||
30 | * @var int |
||
31 | */ |
||
32 | private $minLengthScope; |
||
33 | |||
34 | /** |
||
35 | * @var int |
||
36 | */ |
||
37 | private $maxLengthScope; |
||
38 | |||
39 | /** |
||
40 | * @var bool |
||
41 | */ |
||
42 | private $acceptExtraScope; |
||
43 | |||
44 | /** |
||
45 | * @var array |
||
46 | */ |
||
47 | private $scopes; |
||
48 | |||
49 | /** |
||
50 | * @var int |
||
51 | */ |
||
52 | private $minLengthDescription; |
||
53 | |||
54 | /** |
||
55 | * @var int |
||
56 | */ |
||
57 | private $maxLengthDescription; |
||
58 | |||
59 | /** |
||
60 | * @var int |
||
61 | */ |
||
62 | private $minLengthSubject; |
||
63 | |||
64 | /** |
||
65 | * @var int |
||
66 | */ |
||
67 | private $maxLengthSubject; |
||
68 | |||
69 | /** |
||
70 | * @var int |
||
71 | */ |
||
72 | private $wrapWidthBody; |
||
73 | |||
74 | /** |
||
75 | * @var int |
||
76 | */ |
||
77 | private $wrapWidthFooter; |
||
78 | |||
79 | 2 | private function __construct( |
|
111 | |||
112 | 2 | public static function fromArray(array $configuration): self |
|
131 | |||
132 | 2 | public function minLengthType(): int |
|
136 | |||
137 | 2 | public function maxLengthType(): int |
|
141 | |||
142 | 2 | public function acceptExtraType(): bool |
|
146 | |||
147 | 2 | public function types(): array |
|
151 | |||
152 | 2 | public function minLengthScope(): int |
|
156 | |||
157 | 2 | public function maxLengthScope(): int |
|
161 | |||
162 | 2 | public function acceptExtraScope(): bool |
|
166 | |||
167 | 2 | public function scopes(): array |
|
171 | |||
172 | 2 | public function minLengthDescription(): int |
|
176 | |||
177 | 2 | public function maxLengthDescription(): int |
|
181 | |||
182 | 2 | public function minLengthSubject(): int |
|
186 | |||
187 | 2 | public function maxLengthSubject(): int |
|
191 | |||
192 | 2 | public function wrapWidthBody(): int |
|
196 | |||
197 | 2 | public function wrapWidthFooter(): int |
|
201 | } |