Documentation

OutputFile
in package

Outputs a file to a client optionally honoring the requested ranges.

Tags
author

zozlak

Table of Contents

Constants

CHUNK_SIZE  = 10485760

Properties

$contentType  : string|null
$path  : string
$ranges  : array<int, array<string, mixed>>

Methods

__construct()  : mixed
sendOutput()  : void

Constants

Properties

$ranges

private array<int, array<string, mixed>> $ranges

Methods

__construct()

public __construct(string $path, array<int, array<string, mixed>>|null $ranges, string|null $contentType) : mixed
Parameters
$path : string
$ranges : array<int, array<string, mixed>>|null
$contentType : string|null

        
On this page

Search results