You are here

public function DownloadController::__construct in Ubercart 8.4

Constructs a DownloadController object.

Parameters

\Drupal\Core\Database\Connection $database: A database connection.

\Drupal\Core\File\FileSystemInterface $file_system: The file_system service.

File

uc_file/src/Controller/DownloadController.php, line 66

Class

DownloadController
Handles administrative view of files that may be purchased and downloaded.

Namespace

Drupal\uc_file\Controller

Code

public function __construct(Connection $database, FileSystemInterface $file_system) {
  $this->database = $database;
  $this->fileSystem = $file_system;
}