-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMixin.php
551 lines (291 loc) · 29.1 KB
/
Mixin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
<?php
/*
* This file is part of Respect/Assertion.
*
* (c) Henrique Moody <[email protected]>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
declare(strict_types=1);
namespace Respect\Assertion\Mixin\Static;
use finfo;
use Throwable;
// phpcs:disable Generic.Files.LineLength.TooLong
interface Mixin extends AllMixin, KeyMixin, LengthMixin, MaxMixin, MinMixin, NullOrMixin, PropertyMixin
{
public static function alnum(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function alpha(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function arrayType(mixed $input, null|string|Throwable $description = null): void;
public static function arrayVal(mixed $input, null|string|Throwable $description = null): void;
public static function base(mixed $input, int $base, ?string $chars = null, null|string|Throwable $description = null): void;
public static function base64(mixed $input, null|string|Throwable $description = null): void;
public static function between(mixed $input, mixed $minimum, mixed $maximum, null|string|Throwable $description = null): void;
public static function bic(mixed $input, string $countryCode, null|string|Throwable $description = null): void;
public static function boolType(mixed $input, null|string|Throwable $description = null): void;
public static function boolVal(mixed $input, null|string|Throwable $description = null): void;
public static function bsn(mixed $input, null|string|Throwable $description = null): void;
public static function callableType(mixed $input, null|string|Throwable $description = null): void;
public static function callback(mixed $input, callable $callback, null|string|Throwable $description = null): void;
public static function charset(mixed $input, string $charset = '', null|string|Throwable $description = null): void;
public static function cnh(mixed $input, null|string|Throwable $description = null): void;
public static function cnpj(mixed $input, null|string|Throwable $description = null): void;
public static function control(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function consonant(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function contains(mixed $input, mixed $containsValue, bool $identical = false, null|string|Throwable $description = null): void;
/**
* @param mixed[] $needles
*/
public static function containsAny(mixed $input, array $needles, bool $strictCompareArray = false, null|string|Throwable $description = null): void;
public static function countable(mixed $input, null|string|Throwable $description = null): void;
public static function countryCode(mixed $input, ?string $set = null, null|string|Throwable $description = null): void;
public static function currencyCode(mixed $input, null|string|Throwable $description = null): void;
public static function cpf(mixed $input, null|string|Throwable $description = null): void;
public static function creditCard(mixed $input, ?string $brand = null, null|string|Throwable $description = null): void;
public static function date(mixed $input, string $format = 'Y-m-d', null|string|Throwable $description = null): void;
public static function dateTime(mixed $input, ?string $format = null, null|string|Throwable $description = null): void;
public static function decimal(mixed $input, int $decimals, null|string|Throwable $description = null): void;
public static function digit(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function directory(mixed $input, null|string|Throwable $description = null): void;
public static function domain(mixed $input, bool $tldCheck = true, null|string|Throwable $description = null): void;
public static function email(mixed $input, null|string|Throwable $description = null): void;
public static function endsWith(mixed $input, mixed $endValue, bool $identical = false, null|string|Throwable $description = null): void;
public static function equals(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function equivalent(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function even(mixed $input, null|string|Throwable $description = null): void;
public static function executable(mixed $input, null|string|Throwable $description = null): void;
public static function exists(mixed $input, null|string|Throwable $description = null): void;
public static function extension(mixed $input, string $extension, null|string|Throwable $description = null): void;
public static function factor(mixed $input, int $dividend, null|string|Throwable $description = null): void;
public static function falseVal(mixed $input, null|string|Throwable $description = null): void;
public static function fibonacci(mixed $input, null|string|Throwable $description = null): void;
public static function file(mixed $input, null|string|Throwable $description = null): void;
/**
* @param mixed[]|int $options
*/
public static function filterVar(mixed $input, int $filter, array|int|null $options = null, null|string|Throwable $description = null): void;
public static function finite(mixed $input, null|string|Throwable $description = null): void;
public static function floatVal(mixed $input, null|string|Throwable $description = null): void;
public static function floatType(mixed $input, null|string|Throwable $description = null): void;
public static function graph(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function greaterThan(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function hexRgbColor(mixed $input, null|string|Throwable $description = null): void;
public static function iban(mixed $input, null|string|Throwable $description = null): void;
public static function identical(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function image(mixed $input, ?finfo $fileInfo = null, null|string|Throwable $description = null): void;
public static function imei(mixed $input, null|string|Throwable $description = null): void;
public static function in(mixed $input, mixed $haystack, bool $compareIdentical = false, null|string|Throwable $description = null): void;
public static function infinite(mixed $input, null|string|Throwable $description = null): void;
public static function instance(mixed $input, string $instanceName, null|string|Throwable $description = null): void;
public static function intVal(mixed $input, null|string|Throwable $description = null): void;
public static function intType(mixed $input, null|string|Throwable $description = null): void;
public static function ip(mixed $input, string $range = '*', ?int $options = null, null|string|Throwable $description = null): void;
public static function isbn(mixed $input, null|string|Throwable $description = null): void;
public static function iterableType(mixed $input, null|string|Throwable $description = null): void;
public static function json(mixed $input, null|string|Throwable $description = null): void;
public static function languageCode(mixed $input, ?string $set = null, null|string|Throwable $description = null): void;
public static function leapDate(mixed $input, string $format, null|string|Throwable $description = null): void;
public static function leapYear(mixed $input, null|string|Throwable $description = null): void;
public static function lowercase(mixed $input, null|string|Throwable $description = null): void;
public static function lessThan(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function luhn(mixed $input, null|string|Throwable $description = null): void;
public static function macAddress(mixed $input, null|string|Throwable $description = null): void;
public static function maxAge(mixed $input, int $age, ?string $format = null, null|string|Throwable $description = null): void;
public static function mimetype(mixed $input, string $mimetype, null|string|Throwable $description = null): void;
public static function minAge(mixed $input, int $age, ?string $format = null, null|string|Throwable $description = null): void;
public static function multiple(mixed $input, int $multipleOf, null|string|Throwable $description = null): void;
public static function negative(mixed $input, null|string|Throwable $description = null): void;
public static function nfeAccessKey(mixed $input, null|string|Throwable $description = null): void;
public static function nif(mixed $input, null|string|Throwable $description = null): void;
public static function nip(mixed $input, null|string|Throwable $description = null): void;
public static function no(mixed $input, bool $useLocale = false, null|string|Throwable $description = null): void;
public static function notBlank(mixed $input, null|string|Throwable $description = null): void;
public static function notEmoji(mixed $input, null|string|Throwable $description = null): void;
public static function notEmpty(mixed $input, null|string|Throwable $description = null): void;
public static function notOptional(mixed $input, null|string|Throwable $description = null): void;
public static function noWhitespace(mixed $input, null|string|Throwable $description = null): void;
public static function nullType(mixed $input, null|string|Throwable $description = null): void;
public static function number(mixed $input, null|string|Throwable $description = null): void;
public static function numericVal(mixed $input, null|string|Throwable $description = null): void;
public static function objectType(mixed $input, null|string|Throwable $description = null): void;
public static function odd(mixed $input, null|string|Throwable $description = null): void;
public static function perfectSquare(mixed $input, null|string|Throwable $description = null): void;
public static function pesel(mixed $input, null|string|Throwable $description = null): void;
public static function phone(mixed $input, null|string|Throwable $description = null): void;
public static function phpLabel(mixed $input, null|string|Throwable $description = null): void;
public static function pis(mixed $input, null|string|Throwable $description = null): void;
public static function polishIdCard(mixed $input, null|string|Throwable $description = null): void;
public static function positive(mixed $input, null|string|Throwable $description = null): void;
public static function postalCode(mixed $input, string $countryCode, null|string|Throwable $description = null): void;
public static function primeNumber(mixed $input, null|string|Throwable $description = null): void;
public static function printable(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function punct(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function readable(mixed $input, null|string|Throwable $description = null): void;
public static function regex(mixed $input, string $regex, null|string|Throwable $description = null): void;
public static function resourceType(mixed $input, null|string|Throwable $description = null): void;
public static function roman(mixed $input, null|string|Throwable $description = null): void;
public static function scalarVal(mixed $input, null|string|Throwable $description = null): void;
public static function size(mixed $input, ?string $minSize = null, ?string $maxSize = null, null|string|Throwable $description = null): void;
public static function slug(mixed $input, null|string|Throwable $description = null): void;
public static function sorted(mixed $input, string $direction, null|string|Throwable $description = null): void;
public static function space(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function startsWith(mixed $input, mixed $startValue, bool $identical = false, null|string|Throwable $description = null): void;
public static function stringType(mixed $input, null|string|Throwable $description = null): void;
public static function stringVal(mixed $input, null|string|Throwable $description = null): void;
public static function subdivisionCode(mixed $input, string $countryCode, null|string|Throwable $description = null): void;
/**
* @param mixed[] $superset
*/
public static function subset(mixed $input, array $superset, null|string|Throwable $description = null): void;
public static function symbolicLink(mixed $input, null|string|Throwable $description = null): void;
public static function time(mixed $input, string $format = 'H:i:s', null|string|Throwable $description = null): void;
public static function tld(mixed $input, null|string|Throwable $description = null): void;
public static function trueVal(mixed $input, null|string|Throwable $description = null): void;
public static function type(mixed $input, string $type, null|string|Throwable $description = null): void;
public static function unique(mixed $input, null|string|Throwable $description = null): void;
public static function uploaded(mixed $input, null|string|Throwable $description = null): void;
public static function uppercase(mixed $input, null|string|Throwable $description = null): void;
public static function url(mixed $input, null|string|Throwable $description = null): void;
public static function uuid(mixed $input, ?int $version = null, null|string|Throwable $description = null): void;
public static function version(mixed $input, null|string|Throwable $description = null): void;
public static function videoUrl(mixed $input, ?string $service = null, null|string|Throwable $description = null): void;
public static function vowel(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function writable(mixed $input, null|string|Throwable $description = null): void;
public static function xdigit(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function yes(mixed $input, bool $useLocale = false, null|string|Throwable $description = null): void;
public static function notAlnum(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notAlpha(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notArrayType(mixed $input, null|string|Throwable $description = null): void;
public static function notArrayVal(mixed $input, null|string|Throwable $description = null): void;
public static function notBase(mixed $input, int $base, ?string $chars = null, null|string|Throwable $description = null): void;
public static function notBase64(mixed $input, null|string|Throwable $description = null): void;
public static function notBetween(mixed $input, mixed $minimum, mixed $maximum, null|string|Throwable $description = null): void;
public static function notBic(mixed $input, string $countryCode, null|string|Throwable $description = null): void;
public static function notBoolType(mixed $input, null|string|Throwable $description = null): void;
public static function notBoolVal(mixed $input, null|string|Throwable $description = null): void;
public static function notBsn(mixed $input, null|string|Throwable $description = null): void;
public static function notCallableType(mixed $input, null|string|Throwable $description = null): void;
public static function notCallback(mixed $input, callable $callback, null|string|Throwable $description = null): void;
public static function notCharset(mixed $input, string $charset = '', null|string|Throwable $description = null): void;
public static function notCnh(mixed $input, null|string|Throwable $description = null): void;
public static function notCnpj(mixed $input, null|string|Throwable $description = null): void;
public static function notControl(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notConsonant(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notContains(mixed $input, mixed $containsValue, bool $identical = false, null|string|Throwable $description = null): void;
/**
* @param mixed[] $needles
*/
public static function notContainsAny(mixed $input, array $needles, bool $strictCompareArray = false, null|string|Throwable $description = null): void;
public static function notCountable(mixed $input, null|string|Throwable $description = null): void;
public static function notCountryCode(mixed $input, ?string $set = null, null|string|Throwable $description = null): void;
public static function notCurrencyCode(mixed $input, null|string|Throwable $description = null): void;
public static function notCpf(mixed $input, null|string|Throwable $description = null): void;
public static function notCreditCard(mixed $input, ?string $brand = null, null|string|Throwable $description = null): void;
public static function notDate(mixed $input, string $format = 'Y-m-d', null|string|Throwable $description = null): void;
public static function notDateTime(mixed $input, ?string $format = null, null|string|Throwable $description = null): void;
public static function notDecimal(mixed $input, int $decimals, null|string|Throwable $description = null): void;
public static function notDigit(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notDirectory(mixed $input, null|string|Throwable $description = null): void;
public static function notDomain(mixed $input, bool $tldCheck = true, null|string|Throwable $description = null): void;
public static function notEmail(mixed $input, null|string|Throwable $description = null): void;
public static function notEndsWith(mixed $input, mixed $endValue, bool $identical = false, null|string|Throwable $description = null): void;
public static function notEquals(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function notEquivalent(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function notEven(mixed $input, null|string|Throwable $description = null): void;
public static function notExecutable(mixed $input, null|string|Throwable $description = null): void;
public static function notExists(mixed $input, null|string|Throwable $description = null): void;
public static function notExtension(mixed $input, string $extension, null|string|Throwable $description = null): void;
public static function notFactor(mixed $input, int $dividend, null|string|Throwable $description = null): void;
public static function notFalseVal(mixed $input, null|string|Throwable $description = null): void;
public static function notFibonacci(mixed $input, null|string|Throwable $description = null): void;
public static function notFile(mixed $input, null|string|Throwable $description = null): void;
/**
* @param mixed[]|int $options
*/
public static function notFilterVar(mixed $input, int $filter, array|int|null $options = null, null|string|Throwable $description = null): void;
public static function notFinite(mixed $input, null|string|Throwable $description = null): void;
public static function notFloatVal(mixed $input, null|string|Throwable $description = null): void;
public static function notFloatType(mixed $input, null|string|Throwable $description = null): void;
public static function notGraph(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notGreaterThan(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function notHexRgbColor(mixed $input, null|string|Throwable $description = null): void;
public static function notIban(mixed $input, null|string|Throwable $description = null): void;
public static function notIdentical(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function notImage(mixed $input, ?finfo $fileInfo = null, null|string|Throwable $description = null): void;
public static function notImei(mixed $input, null|string|Throwable $description = null): void;
public static function notIn(mixed $input, mixed $haystack, bool $compareIdentical = false, null|string|Throwable $description = null): void;
public static function notInfinite(mixed $input, null|string|Throwable $description = null): void;
public static function notInstance(mixed $input, string $instanceName, null|string|Throwable $description = null): void;
public static function notIntVal(mixed $input, null|string|Throwable $description = null): void;
public static function notIntType(mixed $input, null|string|Throwable $description = null): void;
public static function notIp(mixed $input, string $range = '*', ?int $options = null, null|string|Throwable $description = null): void;
public static function notIsbn(mixed $input, null|string|Throwable $description = null): void;
public static function notIterableType(mixed $input, null|string|Throwable $description = null): void;
public static function notJson(mixed $input, null|string|Throwable $description = null): void;
public static function notLanguageCode(mixed $input, ?string $set = null, null|string|Throwable $description = null): void;
public static function notLeapDate(mixed $input, string $format, null|string|Throwable $description = null): void;
public static function notLeapYear(mixed $input, null|string|Throwable $description = null): void;
public static function notLowercase(mixed $input, null|string|Throwable $description = null): void;
public static function notLessThan(mixed $input, mixed $compareTo, null|string|Throwable $description = null): void;
public static function notLuhn(mixed $input, null|string|Throwable $description = null): void;
public static function notMacAddress(mixed $input, null|string|Throwable $description = null): void;
public static function notMaxAge(mixed $input, int $age, ?string $format = null, null|string|Throwable $description = null): void;
public static function notMimetype(mixed $input, string $mimetype, null|string|Throwable $description = null): void;
public static function notMinAge(mixed $input, int $age, ?string $format = null, null|string|Throwable $description = null): void;
public static function notMultiple(mixed $input, int $multipleOf, null|string|Throwable $description = null): void;
public static function notNegative(mixed $input, null|string|Throwable $description = null): void;
public static function notNfeAccessKey(mixed $input, null|string|Throwable $description = null): void;
public static function notNif(mixed $input, null|string|Throwable $description = null): void;
public static function notNip(mixed $input, null|string|Throwable $description = null): void;
public static function notNo(mixed $input, bool $useLocale = false, null|string|Throwable $description = null): void;
public static function notNoWhitespace(mixed $input, null|string|Throwable $description = null): void;
public static function notNullType(mixed $input, null|string|Throwable $description = null): void;
public static function notNumber(mixed $input, null|string|Throwable $description = null): void;
public static function notNumericVal(mixed $input, null|string|Throwable $description = null): void;
public static function notObjectType(mixed $input, null|string|Throwable $description = null): void;
public static function notOdd(mixed $input, null|string|Throwable $description = null): void;
public static function notPerfectSquare(mixed $input, null|string|Throwable $description = null): void;
public static function notPesel(mixed $input, null|string|Throwable $description = null): void;
public static function notPhone(mixed $input, null|string|Throwable $description = null): void;
public static function notPhpLabel(mixed $input, null|string|Throwable $description = null): void;
public static function notPis(mixed $input, null|string|Throwable $description = null): void;
public static function notPolishIdCard(mixed $input, null|string|Throwable $description = null): void;
public static function notPositive(mixed $input, null|string|Throwable $description = null): void;
public static function notPostalCode(mixed $input, string $countryCode, null|string|Throwable $description = null): void;
public static function notPrimeNumber(mixed $input, null|string|Throwable $description = null): void;
public static function notPrintable(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notPunct(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notReadable(mixed $input, null|string|Throwable $description = null): void;
public static function notRegex(mixed $input, string $regex, null|string|Throwable $description = null): void;
public static function notResourceType(mixed $input, null|string|Throwable $description = null): void;
public static function notRoman(mixed $input, null|string|Throwable $description = null): void;
public static function notScalarVal(mixed $input, null|string|Throwable $description = null): void;
public static function notSize(mixed $input, ?string $minSize = null, ?string $maxSize = null, null|string|Throwable $description = null): void;
public static function notSlug(mixed $input, null|string|Throwable $description = null): void;
public static function notSorted(mixed $input, string $direction, null|string|Throwable $description = null): void;
public static function notSpace(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notStartsWith(mixed $input, mixed $startValue, bool $identical = false, null|string|Throwable $description = null): void;
public static function notStringType(mixed $input, null|string|Throwable $description = null): void;
public static function notStringVal(mixed $input, null|string|Throwable $description = null): void;
public static function notSubdivisionCode(mixed $input, string $countryCode, null|string|Throwable $description = null): void;
/**
* @param mixed[] $superset
*/
public static function notSubset(mixed $input, array $superset, null|string|Throwable $description = null): void;
public static function notSymbolicLink(mixed $input, null|string|Throwable $description = null): void;
public static function notTime(mixed $input, string $format = 'H:i:s', null|string|Throwable $description = null): void;
public static function notTld(mixed $input, null|string|Throwable $description = null): void;
public static function notTrueVal(mixed $input, null|string|Throwable $description = null): void;
public static function notType(mixed $input, string $type, null|string|Throwable $description = null): void;
public static function notUnique(mixed $input, null|string|Throwable $description = null): void;
public static function notUploaded(mixed $input, null|string|Throwable $description = null): void;
public static function notUppercase(mixed $input, null|string|Throwable $description = null): void;
public static function notUrl(mixed $input, null|string|Throwable $description = null): void;
public static function notUuid(mixed $input, ?int $version = null, null|string|Throwable $description = null): void;
public static function notVersion(mixed $input, null|string|Throwable $description = null): void;
public static function notVideoUrl(mixed $input, ?string $service = null, null|string|Throwable $description = null): void;
public static function notVowel(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notWritable(mixed $input, null|string|Throwable $description = null): void;
public static function notXdigit(mixed $input, string $additionalChars = '', null|string|Throwable $description = null): void;
public static function notYes(mixed $input, bool $useLocale = false, null|string|Throwable $description = null): void;
}