OutputFile
in package
Outputs a file to a client optionally honoring the requested ranges.
Tags
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
CHUNK_SIZE
public
mixed
CHUNK_SIZE
= 10485760
Properties
$contentType
private
string|null
$contentType
$path
private
string
$path
$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
sendOutput()
public
sendOutput() : void