diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Tools/Pagination/Exception')
| -rw-r--r-- | vendor/doctrine/orm/src/Tools/Pagination/Exception/RowNumberOverFunctionNotEnabled.php | 16 |
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 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\ORM\Tools\Pagination\Exception; | ||
| 6 | |||
| 7 | use Doctrine\ORM\Exception\ORMException; | ||
| 8 | use LogicException; | ||
| 9 | |||
| 10 | final 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 | } | ||
