Open Monograph Press  3.3.0
vendor/symfony/http-foundation/File/Exception/FileNotFoundException.php
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
13 
19 class FileNotFoundException extends FileException
20 {
21  public function __construct(string $path)
22  {
23  parent::__construct(sprintf('The file "%s" does not exist', $path));
24  }
25 }
Symfony\Component\HttpFoundation\File\Exception
Definition: lib/vendor/symfony/http-foundation/File/Exception/AccessDeniedException.php:12
Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException\__construct
__construct(string $path)
Definition: vendor/symfony/http-foundation/File/Exception/FileNotFoundException.php:21