d94acd85f9
The Response is not available in the DIC anymore. When you need to create a response, create an instance of Symfony\Component\HttpFoundation\Response instead. As a side effect, the Controller::createResponse() and Controller::redirect() methods have been removed and can easily be replaced as follows: return $this->createResponse('content', 200, array('foo' => 'bar')); return new Response('content', 200, array('foo' => 'bar')); return $this->redirect($url); return Response::createRedirect($url); |
||
---|---|---|
.. | ||
CacheWarmer | ||
DependencyInjection | ||
Extension | ||
Loader | ||
Node | ||
Resources | ||
Tests | ||
TokenParser | ||
GlobalVariables.php | ||
TwigBundle.php | ||
TwigEngine.php |