summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Mapping/ToManyAssociationMapping.php
blob: 2e4969c47c67e4c00febe7d5ccea291c25fed214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

declare(strict_types=1);

namespace Doctrine\ORM\Mapping;

interface ToManyAssociationMapping
{
    /** @psalm-assert-if-true string $this->indexBy() */
    public function isIndexed(): bool;

    public function indexBy(): string;

    /** @return array<string, 'asc'|'desc'> */
    public function orderBy(): array;
}