diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Exception/MissingMappingDriverImplementation.php')
-rw-r--r-- | vendor/doctrine/orm/src/Exception/MissingMappingDriverImplementation.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Exception/MissingMappingDriverImplementation.php b/vendor/doctrine/orm/src/Exception/MissingMappingDriverImplementation.php new file mode 100644 index 0000000..ce5104b --- /dev/null +++ b/vendor/doctrine/orm/src/Exception/MissingMappingDriverImplementation.php | |||
@@ -0,0 +1,18 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Doctrine\ORM\Exception; | ||
6 | |||
7 | use LogicException; | ||
8 | |||
9 | final class MissingMappingDriverImplementation extends LogicException implements ManagerException | ||
10 | { | ||
11 | public static function create(): self | ||
12 | { | ||
13 | return new self( | ||
14 | "It's a requirement to specify a Metadata Driver and pass it " . | ||
15 | 'to Doctrine\\ORM\\Configuration::setMetadataDriverImpl().', | ||
16 | ); | ||
17 | } | ||
18 | } | ||