Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1302d3a

Browse filesBrowse files
committed
minor #5556 Fix typo Esi in part create framework (nicolasdewez)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5556). Discussion ---------- Fix typo Esi in part create framework | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Name for Esi class was wrong : ESI -> Esi Commits ------- 43e06c3 Fix typo Esi in part create framework
2 parents 0134123 + 43e06c3 commit 1302d3a
Copy full SHA for 1302d3a

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎create_framework/http-kernel-httpkernelinterface.rst

Copy file name to clipboardExpand all lines: create_framework/http-kernel-httpkernelinterface.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ sub-requests to convert them to their proper content::
153153
$framework = new HttpKernel\HttpCache\HttpCache(
154154
$framework,
155155
new HttpKernel\HttpCache\Store(__DIR__.'/../cache'),
156-
new HttpKernel\HttpCache\ESI()
156+
new HttpKernel\HttpCache\Esi()
157157
);
158158

159159
.. note::
@@ -166,7 +166,7 @@ When using complex HTTP caching strategies and/or many ESI include tags, it
166166
can be hard to understand why and when a resource should be cached or not. To
167167
ease debugging, you can enable the debug mode::
168168

169-
$framework = new HttpCache($framework, new Store(__DIR__.'/../cache'), new ESI(), array('debug' => true));
169+
$framework = new HttpCache($framework, new Store(__DIR__.'/../cache'), new Esi(), array('debug' => true));
170170

171171
The debug mode adds a ``X-Symfony-Cache`` header to each response that
172172
describes what the cache layer did:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.