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

Breadcrumb

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

function AccessDeniedException::__construct

File

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

Class

AccessDeniedException
Thrown when the access on a file was denied.

Namespace

Symfony\Component\HttpFoundation\File\Exception

Code

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

API Navigation

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