summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Mapping/ToManyAssociationMapping.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/orm/src/Mapping/ToManyAssociationMapping.php')
-rw-r--r--vendor/doctrine/orm/src/Mapping/ToManyAssociationMapping.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Mapping/ToManyAssociationMapping.php b/vendor/doctrine/orm/src/Mapping/ToManyAssociationMapping.php
new file mode 100644
index 0000000..2e4969c
--- /dev/null
+++ b/vendor/doctrine/orm/src/Mapping/ToManyAssociationMapping.php
@@ -0,0 +1,16 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\ORM\Mapping;
6
7interface ToManyAssociationMapping
8{
9 /** @psalm-assert-if-true string $this->indexBy() */
10 public function isIndexed(): bool;
11
12 public function indexBy(): string;
13
14 /** @return array<string, 'asc'|'desc'> */
15 public function orderBy(): array;
16}