FileNotFound.php 390 B

1234567891011121314151617
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations\Configuration\Exception;
  4. use InvalidArgumentException;
  5. use function sprintf;
  6. final class FileNotFound extends InvalidArgumentException implements ConfigurationException
  7. {
  8. public static function new(string $file): self
  9. {
  10. return new self(sprintf('The "%s" configuration file does not exist.', $file));
  11. }
  12. }