You are here

public function FileDownloadController::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/src/FileDownloadController.php \Drupal\system\FileDownloadController::__construct()

FileDownloadController constructor.

Parameters

\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $streamWrapperManager: The stream wrapper manager.

1 call to FileDownloadController::__construct()
ImageStyleDownloadController::__construct in core/modules/image/src/Controller/ImageStyleDownloadController.php
Constructs an ImageStyleDownloadController object.
1 method overrides FileDownloadController::__construct()
ImageStyleDownloadController::__construct in core/modules/image/src/Controller/ImageStyleDownloadController.php
Constructs an ImageStyleDownloadController object.

File

core/modules/system/src/FileDownloadController.php, line 31

Class

FileDownloadController
System file controller.

Namespace

Drupal\system

Code

public function __construct(StreamWrapperManagerInterface $streamWrapperManager) {
  $this->streamWrapperManager = $streamWrapperManager;
}