caisse-bliss/vendor/doctrine/migrations/lib/Doctrine/Migrations/Exception/MissingDependency.php

21 lines
447 B
PHP
Raw Normal View History

2023-06-19 12:13:30 +02:00
<?php
declare(strict_types=1);
namespace Doctrine\Migrations\Exception;
use RuntimeException;
final class MissingDependency extends RuntimeException implements DependencyException
{
public static function noEntityManager(): self
{
return new self('The entity manager is not available.');
}
public static function noSchemaProvider(): self
{
return new self('The schema provider is not available.');
}
}