You are here

public function DownloadLoggerInterface::clear in Commerce File 8.2

Clears the download log for the given license.

Parameters

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

1 method overrides DownloadLoggerInterface::clear()
DownloadLogger::clear in src/DownloadLogger.php
Clears the download log for the given license.

File

src/DownloadLoggerInterface.php, line 19

Class

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

Namespace

Drupal\commerce_file

Code

public function clear(LicenseInterface $license);