Skip to content

Commit a5d58ca

Browse files
Update cache.rst
Remove unnecessary attributes Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
1 parent 1e75147 commit a5d58ca

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cache.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -889,12 +889,8 @@ First, create a service that will compute the item's value::
889889
namespace App\Cache;
890890

891891
use Psr\Cache\CacheItemInterface;
892-
use Symfony\Component\DependencyInjection\Attribute\Autoconfigure;
893-
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
894892
use Symfony\Contracts\Cache\CallbackInterface;
895893

896-
#[Autoconfigure(tags: ['container.reversible'], public: true)]
897-
#[AutoconfigureTag]
898894
class CacheComputation implements CallbackInterface
899895
{
900896
public function __invoke(CacheItemInterface $item, bool &$save): string

0 commit comments

Comments
 (0)