private $requestStack;
/**
- * Constructor.
- *
* @param RequestStack $requestStack The Request stack that controls the lifecycle of requests
* @param FragmentRendererInterface[] $renderers An array of FragmentRendererInterface instances
* @param bool $debug Whether the debug mode is enabled or not
/**
* Adds a renderer.
- *
- * @param FragmentRendererInterface $renderer A FragmentRendererInterface instance
*/
public function addRenderer(FragmentRendererInterface $renderer)
{
* When the Response is a StreamedResponse, the content is streamed immediately
* instead of being returned.
*
- * @param Response $response A Response instance
- *
* @return string|null The Response content or null when the Response is streamed
*
* @throws \RuntimeException when the Response is not successful