8000 minor #11352 remove space before self closing tag (OskarStark) · symfony/symfony-docs@3ff743e · GitHub
[go: up one dir, main page]

Skip to content

Commit 3ff743e

Browse files
committed
minor #11352 remove space before self closing tag (OskarStark)
This PR was merged into the 3.4 branch. Discussion ---------- remove space before self closing tag <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- cb280f2 remove space before self closing tag
2 parents a02ef30 + cb280f2 commit 3ff743e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

cache.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ You can also create more customized pools. All you need is an adapter:
206206
207207
<framework:config>
208208
<framework:cache default_memcached_provider="memcached://localhost">
209-
<framework:pool name="my_cache_pool" adapter="cache.adapter.array" />
210-
<framework:pool name="cache.acme" adapter="cache.adapter.memcached" />
211-
<framework:pool name="cache.foobar" adapter="cache.adapter.memcached" provider="memcached://user:password@example.com" />
209+
<framework:pool name="my_cache_pool" adapter="cache.adapter.array"/>
210+
<framework:pool name="cache.acme" adapter="cache.adapter.memcached"/>
211+
<framework:pool name="cache.foobar" adapter="cache.adapter.memcached" provider="memcached://user:password@example.com"/>
212212
</framework:cache>
213213
</framework:config>
214214
</container>
@@ -273,9 +273,9 @@ For advanced configurations it could sometimes be useful to use a pool as an ada
273273
274274
<framework:config>
275275
<framework:cache>
276-
<framework:pool name="my_cache_pool" adapter="cache.adapter.memcached" provider="memcached://user:password@example.com" />
277-
<framework:pool name="cache.short_cache" adapter="my_cache_pool" default_lifetime="604800" />
278-
<framework:pool name="cache.long_cache" adapter="my_cache_pool" default_lifetime="604800" />
276+
<framework:pool name="my_cache_pool" adapter="cache.adapter.memcached" provider="memcached://user:password@example.com"/>
277+
<framework 8000 :pool name="cache.short_cache" adapter="my_cache_pool" default_lifetime="604800"/>
278+
<framework:pool name="cache.long_cache" adapter="my_cache_pool" default_lifetime="604800"/>
279279
</framework:cache>
280280
</framework:config>
281281
</container>
@@ -346,17 +346,17 @@ case the value needs to be recalculated.
346346
347347
<framework:config>
348348
<framework:cache default_memcached_provider="memcached://localhost">
349-
<framework:pool name="my_cache_pool" adapter="app.my_cache_chain_adapter" />
350-
<framework:pool name="cache.my_redis" adapter="cache.adapter.redis" provider="redis://user:password@example.com" />
349+
<framework:pool name="my_cache_pool" adapter="app.my_cache_chain_adapter"/>
350+
<framework:pool name="cache.my_redis" adapter="cache.adapter.redis" provider="redis://user:password@example.com"/>
351351
</framework:cache>
352352
</framework:config>
353353
354354
<services>
355355
<service id="app.my_cache_chain_adapter" class="Symfony\Component\Cache\Adapter\ChainAdapter">
356356
<argument type="collection">
357-
<argument type="service" value="cache.adapter.array" />
358-
<argument type="service" value="cache.my_redis" />
359-
<argument type="service" value="cache.adapter.file" />
357+
<argument type="service" value="cache.adapter.array"/>
358+
<argument type="service" value="cache.my_redis"/>
359+
<argument type="service" value="cache.adapter.file"/>
360360
</argument>
361361
<argument>31536000</argument>
362362
</service>

0 commit comments

Comments
 (0)
0