class CacheableBinaryFileResponse in Media Download 1.0.x
Same name and namespace in other branches
- 1.2.x src/CacheableBinaryFileResponse.php \Drupal\media_download\CacheableBinaryFileResponse
- 1.1.x src/CacheableBinaryFileResponse.php \Drupal\media_download\CacheableBinaryFileResponse
Provides a binary file response class that is cacheable by Drupal.
Copyright (C) 2021 Library Solutions, LLC (et al.).
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Hierarchy
- class \Drupal\media_download\CacheableBinaryFileResponse extends \Symfony\Component\HttpFoundation\BinaryFileResponse implements CacheableResponseInterface uses CacheableResponseTrait
Expanded class hierarchy of CacheableBinaryFileResponse
File
- src/
CacheableBinaryFileResponse.php, line 20
Namespace
Drupal\media_downloadView source
class CacheableBinaryFileResponse extends BinaryFileResponse implements CacheableResponseInterface {
use CacheableResponseTrait;
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableResponseTrait:: |
protected | property | The cacheability metadata. | |
CacheableResponseTrait:: |
public | function | ||
CacheableResponseTrait:: |
public | function |