RollupFailed.php 411 B

1234567891011121314151617181920
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations\Exception;
  4. use RuntimeException;
  5. final class RollupFailed extends RuntimeException implements MigrationException
  6. {
  7. public static function noMigrationsFound(): self
  8. {
  9. return new self('No migrations found.');
  10. }
  11. public static function tooManyMigrations(): self
  12. {
  13. return new self('Too many migrations.');
  14. }
  15. }