Skip to content

Commit

Permalink
Merge branch '7.2' into 7.3
Browse files Browse the repository at this point in the history
* 7.2:
  [Cache] Fix "Marshalling (Serializing) Data" code rendering issue
  Update http client timeout option docs
  • Loading branch information
javiereguiluz committed Feb 12, 2025
2 parents 4955cc7 + 149a8fa commit bed495c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components/cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ the cache items before storing them.

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

use Symfony\Component\Cache\Adapter\RedisAdapter;
use Symfony\Component\Cache\DefaultMarshaller;
use Symfony\Component\Cache\DeflateMarshaller;
use Symfony\Component\Cache\Marshaller\DefaultMarshaller;
use Symfony\Component\Cache\Marshaller\DeflateMarshaller;

$marshaller = new DeflateMarshaller(new DefaultMarshaller());
// you can optionally use the Igbinary extension if you have it installed
Expand Down
2 changes: 1 addition & 1 deletion reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ timeout

**type**: ``float`` **default**: depends on your PHP config

Time, in seconds, to wait for a response. If the response takes longer, a
Time, in seconds, to wait for network activity. If the connection is idle for longer, a
:class:`Symfony\\Component\\HttpClient\\Exception\\TransportException` is thrown.
Its default value is the same as the value of PHP's `default_socket_timeout`_
config option.
Expand Down

0 comments on commit bed495c

Please sign in to comment.