public function AccessDeniedException::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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\ExceptionCode
public function __construct($path) {
parent::__construct(sprintf('The file %s could not be accessed', $path));
}