welcome back to dyb-tech
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\Migrations\Exception;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
use function sprintf;
|
||||
|
||||
final class MigrationClassNotFound extends RuntimeException implements MigrationException
|
||||
{
|
||||
public static function new(string $migrationClass): self
|
||||
{
|
||||
return new self(
|
||||
sprintf(
|
||||
'Migration class "%s" was not found?',
|
||||
$migrationClass,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user