FileInterface.php 466 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Interface of response sending file content
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\Framework\App\Response;
  9. /**
  10. * Interface \Magento\Framework\App\Response\FileInterface
  11. *
  12. */
  13. interface FileInterface extends HttpInterface
  14. {
  15. /**
  16. * Set path to the file being sent
  17. *
  18. * @param string $path
  19. * @return void
  20. */
  21. public function setFilePath($path);
  22. }