Skip to content

Commit 8f86b2c

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: [Cache] Fix "Marshalling (Serializing) Data" code rendering issue
2 parents 9d25964 + 43864cc commit 8f86b2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/cache.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,11 @@ the cache items before storing them.
209209

210210
The :class:`Symfony\\Component\\Cache\\Marshaller\\DefaultMarshaller` uses PHP's
211211
``serialize()`` function by default, but you can optionally use the ``igbinary_serialize()``
212-
function from the `Igbinary extension`_:
212+
function from the `Igbinary extension`_::
213213

214214
use Symfony\Component\Cache\Adapter\RedisAdapter;
215-
use Symfony\Component\Cache\DefaultMarshaller;
216-
use Symfony\Component\Cache\DeflateMarshaller;
215+
use Symfony\Component\Cache\Marshaller\DefaultMarshaller;
216+
use Symfony\Component\Cache\Marshaller\DeflateMarshaller;
217217

218218
$marshaller = new DeflateMarshaller(new DefaultMarshaller());
219219
// you can optionally use the Igbinary extension if you have it installed

0 commit comments

Comments
 (0)