FileDownload
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- saveTo() : void
Properties
$data
public
string
$data
$headers
public
array<string|int, mixed>
$headers
= []
Methods
__construct()
public
__construct(string $data[, array<string|int, mixed> $headers = [] ]) : mixed
Parameters
- $data : string
- $headers : array<string|int, mixed> = []
saveTo()
public
saveTo(string $path) : void
Parameters
- $path : string