summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Mapping/Index.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/orm/src/Mapping/Index.php')
-rw-r--r--vendor/doctrine/orm/src/Mapping/Index.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Mapping/Index.php b/vendor/doctrine/orm/src/Mapping/Index.php
new file mode 100644
index 0000000..1de939e
--- /dev/null
+++ b/vendor/doctrine/orm/src/Mapping/Index.php
@@ -0,0 +1,26 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\ORM\Mapping;
6
7use Attribute;
8
9#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
10final class Index implements MappingAttribute
11{
12 /**
13 * @param array<string>|null $columns
14 * @param array<string>|null $fields
15 * @param array<string>|null $flags
16 * @param array<string,mixed>|null $options
17 */
18 public function __construct(
19 public readonly string|null $name = null,
20 public readonly array|null $columns = null,
21 public readonly array|null $fields = null,
22 public readonly array|null $flags = null,
23 public readonly array|null $options = null,
24 ) {
25 }
26}