summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Tools/Pagination/Exception
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/orm/src/Tools/Pagination/Exception')
-rw-r--r--vendor/doctrine/orm/src/Tools/Pagination/Exception/RowNumberOverFunctionNotEnabled.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Tools/Pagination/Exception/RowNumberOverFunctionNotEnabled.php b/vendor/doctrine/orm/src/Tools/Pagination/Exception/RowNumberOverFunctionNotEnabled.php
new file mode 100644
index 0000000..0e3da93
--- /dev/null
+++ b/vendor/doctrine/orm/src/Tools/Pagination/Exception/RowNumberOverFunctionNotEnabled.php
@@ -0,0 +1,16 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\ORM\Tools\Pagination\Exception;
6
7use Doctrine\ORM\Exception\ORMException;
8use LogicException;
9
10final class RowNumberOverFunctionNotEnabled extends LogicException implements ORMException
11{
12 public static function create(): self
13 {
14 return new self('The RowNumberOverFunction is not intended for, nor is it enabled for use in DQL.');
15 }
16}