19 declare(strict_types=1);
    50         $this->httpService = $httpState;
    59         return is_readable($path_to_file);
    76     public function deliver(
string $path_to_file, 
bool $file_marked_to_delete): void
    78         $response = $this->httpService->response()
    79                                       ->withHeader(self::X_SENDFILE, realpath($path_to_file));
    80         $this->httpService->saveResponse(
$response);
    81         $this->httpService->sendResponse();
   117         return unlink($path_to_file);
 
doesFileExists(string $path_to_file)
 
supportsAttachmentDelivery()
 
Interface ilFileDeliveryType. 
 
handleFileDeletion(string $path_to_file)
bool 
 
__construct(Services $httpState)
PHP constructor. 
 
const X_SENDFILE_TEMPORARY
 
prepare(string $path_to_file, ?FileStream $possible_stream)
bool 
 
ILIAS HTTP Services $httpService
 
deliver(string $path_to_file, bool $file_marked_to_delete)
absolute path to fileThis is needed at this point for header-based delivery methodsvoid ...
 
The base interface for all filesystem streams.