Symfony\Bundle\FrameworkBundle\Controller\Controller::stream
Streams a view.
Signature
public function stream(string
$view,
[StreamedResponse
$parameters = null,
[StreamedResponse
$response = null]] )
Parameters
$view
— string- The view name
$parameters
— array- An array of parameters to pass to the view
$response
— Symfony\Component\HttpFoundation\StreamedResponse- A response instance
Returns
- StreamedResponse
- A StreamedResponse instance