summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Tools/Pagination/Exception/RowNumberOverFunctionNotEnabled.php
blob: 0e3da9393d11f7f2595c54a2cb38b6d14f6ca63f (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\Tools\Pagination\Exception;

use Doctrine\ORM\Exception\ORMException;
use LogicException;

final class RowNumberOverFunctionNotEnabled extends LogicException implements ORMException
{
    public static function create(): self
    {
        return new self('The RowNumberOverFunction is not intended for, nor is it enabled for use in DQL.');
    }
}