diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Persisters/Exception/InvalidOrientation.php')
-rw-r--r-- | vendor/doctrine/orm/src/Persisters/Exception/InvalidOrientation.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Persisters/Exception/InvalidOrientation.php b/vendor/doctrine/orm/src/Persisters/Exception/InvalidOrientation.php new file mode 100644 index 0000000..7532800 --- /dev/null +++ b/vendor/doctrine/orm/src/Persisters/Exception/InvalidOrientation.php | |||
@@ -0,0 +1,15 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Doctrine\ORM\Persisters\Exception; | ||
6 | |||
7 | use Doctrine\ORM\Exception\PersisterException; | ||
8 | |||
9 | class InvalidOrientation extends PersisterException | ||
10 | { | ||
11 | public static function fromClassNameAndField(string $className, string $field): self | ||
12 | { | ||
13 | return new self('Invalid order by orientation specified for ' . $className . '#' . $field); | ||
14 | } | ||
15 | } | ||