vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php line 18

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\DBAL\Driver\PDO;
  4. use Doctrine\DBAL\Driver\PDOException;
  5. /**
  6.  * @internal
  7.  *
  8.  * @psalm-immutable
  9.  */
  10. final class Exception extends PDOException
  11. {
  12.     public static function new(\PDOException $exception): self
  13.     {
  14.         return new self($exception);
  15.     }
  16. }