Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e0a78 commit 7da4e2bCopy full SHA for 7da4e2b
book/http_cache.rst
@@ -173,7 +173,10 @@ finely tuned via a set of options you can set by overriding the ``getOptions()``
173
method::
174
175
// app/AppCache.php
176
- class AppCache extends Cache
+
177
+ use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
178
179
+ class AppCache extends HttpCache
180
{
181
protected function getOptions()
182
@@ -654,7 +657,7 @@ exposing a simple and efficient pattern::
654
657
} else {
655
658
// do more work here - like retrieving more data
656
659
$comments = // ...
-
660
661
// or render a template with the $response you've already started
662
return $this->render(
663
'MyBundle:MyController:article.html.twig',
0 commit comments