This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/TwigBundle
Fabien Potencier d94acd85f9 remove response as a service
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);
2011-02-21 17:36:04 +01:00
..
CacheWarmer [TwigBundle] added a cache warmer to generate all Twig templates cache 2011-01-24 18:13:42 +01:00
DependencyInjection changed all extensions to use the default Extension::getAlias() impl 2011-02-20 08:58:37 +01:00
Extension Merge remote branch 'stof/escaping' 2011-02-19 18:50:32 +01:00
Loader [Templating] Refactor the component 2011-02-14 21:11:44 +01:00
Node normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
Resources remove response as a service 2011-02-21 17:36:04 +01:00
Tests remove response as a service 2011-02-21 17:36:04 +01:00
TokenParser [TwigBundle] Fixed RenderTokenParser when with isn't used and options are provided 2011-01-20 16:47:54 +01:00
GlobalVariables.php fixed previous commit 2011-02-19 13:02:23 +01:00
TwigBundle.php added the concept of a main DIC extension for bundles 2011-02-15 22:11:07 +01:00
TwigEngine.php remove response as a service 2011-02-21 17:36:04 +01:00