Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[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

Open
mohamedGasmii wants to merge1 commit intosymfony:5.4
base:5.4
Choose a base branch
Loading
frommohamedGasmii:patch-22

Conversation

mohamedGasmii
Copy link
Contributor

Add marshaller constructor argument.

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::
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
// 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

@xabbuhxabbuh modified the milestones:5.4,6.4Dec 16, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@alamiraultalamiraultalamirault left review comments

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@mohamedGasmii@alamirault@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp