| Current Path : /var/www/www.indacotrentino.com/www/app/code/Amasty/Base/Model/Response/ |
| Current File : //var/www/www.indacotrentino.com/www/app/code/Amasty/Base/Model/Response/OctetResponseInterface.php |
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Magento 2 Base Package
*/
namespace Amasty\Base\Model\Response;
use Magento\Framework\App;
use Magento\Framework\Filesystem\File\ReadInterface;
interface OctetResponseInterface extends App\Response\HttpInterface, App\PageCache\NotCacheableInterface
{
public const FILE = 'file';
public const FILE_URL = 'url';
public function sendOctetResponse();
public function getContentDisposition(): string;
public function getReadResourceByPath(string $readResourcePath): ReadInterface;
public function setReadResource(ReadInterface $readResource): OctetResponseInterface;
public function getFileName(): ?string;
public function setFileName(string $fileName): OctetResponseInterface;
}