You are here

public function AccessDeniedException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/File/Exception/AccessDeniedException.php \Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException::__construct()

Constructor.

Parameters

string $path The path to the accessed file:

File

vendor/symfony/http-foundation/File/Exception/AccessDeniedException.php, line 26

Class

AccessDeniedException
Thrown when the access on a file was denied.

Namespace

Symfony\Component\HttpFoundation\File\Exception

Code

public function __construct($path) {
  parent::__construct(sprintf('The file %s could not be accessed', $path));
}