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

File server handler. More...

Public Member Functions

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

Protected Attributes

 $mimetype
 

Detailed Description

File server handler.

Definition at line 19 of file ServeFileHandler.php.

Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 43 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 55 of file ServeFileHandler.php.

Member Data Documentation

Elgg\Application\ServeFileHandler::$mimetype
protected

Definition at line 34 of file ServeFileHandler.php.


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