Skip to content

Commit 94b0383

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [Cache] Mutate annotation to attribute
2 parents 50ed4a2 + cc186bd commit 94b0383

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cache.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,9 +898,7 @@ In the following example, the value is requested from a controller::
898898

899899
class CacheController extends AbstractController
900900
{
901-
/**
902-
* @Route("/cache", name="cache")
903-
*/
901+
#[Route('/cache', name: 'cache')]
904902
public function index(CacheInterface $asyncCache): Response
905903
{
906904
// pass to the cache the service method that refreshes the item

0 commit comments

Comments
 (0)