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

declare(strict_types=1);

namespace Doctrine\ORM\Tools\Exception;

use Doctrine\ORM\Exception\SchemaToolException;
use LogicException;

final class NotSupported extends LogicException implements SchemaToolException
{
    public static function create(): self
    {
        return new self('This behaviour is (currently) not supported by Doctrine 2');
    }
}