PHP Class Elgg\Application\ServeFileHandler

Afficher le fichier Open project: elgg/elgg Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ElggCrypto $crypto, Config $config ) Constructor
getResponse ( Request $request ) : Response Handle a request for a file

Private Methods

Méthode Description
getCookieValue ( Request $request ) : string Get the session ID from the cookie

Method Details

__construct() public méthode

Constructor
public __construct ( ElggCrypto $crypto, Config $config )
$crypto ElggCrypto Crypto service
$config Elgg\Config Config service

getResponse() public méthode

Handle a request for a file
public getResponse ( Request $request ) : Response
$request Elgg\Http\Request HTTP request
Résultat Symfony\Component\HttpFoundation\Response