Elgg  Version master
Public Member Functions | List of all members
Elgg\Application\ServeFileHandler Class Reference

File server handler. More...

Public Member Functions

 __construct (protected HmacFactory $hmac, protected Config $config, protected MimeTypeService $mimetype)
 Constructor. More...
 
 getResponse (Request $request)
 Handle a request for a file. More...
 

Detailed Description

File server handler.

Definition at line 19 of file ServeFileHandler.php.

Constructor & Destructor Documentation

Elgg\Application\ServeFileHandler::__construct ( protected HmacFactory  $hmac,
protected Config  $config,
protected MimeTypeService  $mimetype 
)

Constructor.

Parameters
HmacFactory$hmacHMAC service
Config$configConfig service
MimeTypeService$mimetypeMimeType service

Definition at line 28 of file ServeFileHandler.php.

Member Function Documentation

Elgg\Application\ServeFileHandler::getResponse ( Request  $request)

Handle a request for a file.

Parameters
Request$requestHTTP request
Returns
Response

Definition at line 42 of file ServeFileHandler.php.


The documentation for this class was generated from the following file: