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

declare(strict_types=1);

namespace Doctrine\ORM\Exception;

use RuntimeException;

final class EntityManagerClosed extends RuntimeException implements ManagerException
{
    public static function create(): self
    {
        return new self('The EntityManager is closed.');
    }
}