forked from Respect/Validation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMixin.php
More file actions
30 lines (25 loc) · 676 Bytes
/
Mixin.php
File metadata and controls
30 lines (25 loc) · 676 Bytes
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
<?php
/*
* SPDX-License-Identifier: MIT
* SPDX-FileCopyrightText: (c) Respect Project Contributors
* SPDX-FileContributor: Alexandre Gomes Gaigalas <alganet@gmail.com>
*/
declare(strict_types=1);
namespace Respect\Dev\CodeGen\Attributes;
use Attribute;
#[Attribute(Attribute::TARGET_CLASS)]
final readonly class Mixin
{
/**
* @param array<string> $exclude
* @param array<string> $include
*/
public function __construct(
public string|null $prefix = null,
public bool $prefixParameter = false,
public bool $requireInclusion = false,
public array $exclude = [],
public array $include = [],
) {
}
}