Symfony\Component\HttpFoundation\StreamedResponse::__construct
Constructor.
Signature
public function __construct([mixed
$callback = null,
[integer
$status = 200,
array
$headers]] )
Parameters
$callback
— mixed- A valid PHP callback
$status
— integer- The response status code
$headers
— array- An array of response headers