summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Exception/MissingMappingDriverImplementation.php
blob: ce5104b2609bdf63ae5032339e12134a63fbabb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

declare(strict_types=1);

namespace Doctrine\ORM\Exception;

use LogicException;

final class MissingMappingDriverImplementation extends LogicException implements ManagerException
{
    public static function create(): self
    {
        return new self(
            "It's a requirement to specify a Metadata Driver and pass it " .
            'to Doctrine\\ORM\\Configuration::setMetadataDriverImpl().',
        );
    }
}