FrozenConfiguration.php 340 B

123456789101112131415
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations\Configuration\Exception;
  4. use LogicException;
  5. final class FrozenConfiguration extends LogicException implements ConfigurationException
  6. {
  7. public static function new(): self
  8. {
  9. return new self('The configuration is frozen and cannot be edited anymore.');
  10. }
  11. }