[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/ocramius/proxy-manager/src/ProxyManager/Exception/ -> InvalidProxyDirectoryException.php (source)

   1  <?php
   2  
   3  declare(strict_types=1);
   4  
   5  namespace ProxyManager\Exception;
   6  
   7  use InvalidArgumentException;
   8  
   9  /**
  10   * Exception for invalid directories
  11   *
  12   * @author Marco Pivetta <ocramius@gmail.com>
  13   * @license MIT
  14   */
  15  class InvalidProxyDirectoryException extends InvalidArgumentException implements ExceptionInterface
  16  {
  17      public static function proxyDirectoryNotFound(string $directory) : self
  18      {
  19          return new self(sprintf('Provided directory "%s" does not exist', $directory));
  20      }
  21  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1