Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FileNotFoundException.php

function FileNotFoundException::__construct

Same name in this branch
  1. 11.1.x vendor/symfony/filesystem/Exception/FileNotFoundException.php \Symfony\Component\Filesystem\Exception\FileNotFoundException::__construct()

File

vendor/symfony/http-foundation/File/Exception/FileNotFoundException.php, line 21

Class

FileNotFoundException
Thrown when a file was not found.

Namespace

Symfony\Component\HttpFoundation\File\Exception

Code

public function __construct(string $path) {
    parent::__construct(\sprintf('The file "%s" does not exist', $path));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal