We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey! Seems like an example of a callback in async cache section is incorrect:
$cachedValue = $asyncCache->get('my_value', [CacheComputation::class, 'compute'])
It's not a valid callback as the compute method is not static in the example:
compute
class CacheComputation { public function compute(ItemInterface $item): string { ... } }
Am I missing something or we should adjust the docs?
The text was updated successfully, but these errors were encountered:
Actually, some info from this page could be added to the docs. Wdyt? https://symfony.com/blog/new-in-symfony-5-2-async-cache-recomputing
Sorry, something went wrong.
Also, seems like
early_expiration_message_bus: messenger.default_bus
should be
early_expiration_message_bus: messenger.bus.default
No branches or pull requests
Hey! Seems like an example of a callback in async cache section is incorrect:
It's not a valid callback as the
compute
method is not static in the example:Am I missing something or we should adjust the docs?
The text was updated successfully, but these errors were encountered: