Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
[Cache] Add marshaller#17153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:5.4
Are you sure you want to change the base?
[Cache] Add marshaller#17153
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Add marshaller constructor argument.
@@ -17,7 +17,7 @@ memory, a component appreciably faster than many others, such as the filesystem. | |||
this adapter. | |||
The ApcuAdapter can optionally be provided a namespace, default cache lifetime, | |||
andcache items version string as constructor arguments:: | |||
cache items version string and marshaller as constructor arguments:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
We probably should add reference to marshallers docs:https://symfony.com/doc/current/components/cache.html#marshalling-serializing-data
:ref:`marshaller <marshalling-serializing-data>`
components/cache.rst
must also be updated from
Marshalling (Serializing) Data------------------------------
to
.. _marshalling-serializing-data:Marshalling (Serializing) Data------------------------------
$version = null | ||
$version = null, | ||
// marshaller (classe which implement MarshallerInterface) to process the cache items before storing them |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
// marshaller (classe which implementMarshallerInterface) to process the cache items before storing them | |
// marshaller (object implementing Symfony\Component\Cache\Marshaller\MarshallerInterface) to process the cache items before storing them |
Add marshaller constructor argument.