We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e75147 commit a5d58caCopy full SHA for a5d58ca
cache.rst
@@ -889,12 +889,8 @@ First, create a service that will compute the item's value::
889
namespace App\Cache;
890
891
use Psr\Cache\CacheItemInterface;
892
- use Symfony\Component\DependencyInjection\Attribute\Autoconfigure;
893
- use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
894
use Symfony\Contracts\Cache\CallbackInterface;
895
896
- #[Autoconfigure(tags: ['container.reversible'], public: true)]
897
- #[AutoconfigureTag]
898
class CacheComputation implements CallbackInterface
899
{
900
public function __invoke(CacheItemInterface $item, bool &$save): string
0 commit comments