You are here

public function DownloadLoggerInterface::log in Commerce File 8.2

Logs the download of the given file, for the given license.

Parameters

\Drupal\commerce_license\Entity\LicenseInterface $license: The license.

\Drupal\file\FileInterface $file: The downloaded file.

1 method overrides DownloadLoggerInterface::log()
DownloadLogger::log in src/DownloadLogger.php
Logs the download of the given file, for the given license.

File

src/DownloadLoggerInterface.php, line 47

Class

DownloadLoggerInterface
Interface for the download logger, responsible for logging file downloads.

Namespace

Drupal\commerce_file

Code

public function log(LicenseInterface $license, FileInterface $file);