From 12c1059f83ecf46ed23aaaafc03b8a91f0454a55 Mon Sep 17 00:00:00 2001 From: Mokhtar Tlili Date: Sun, 10 Jul 2022 12:41:13 +0200 Subject: [PATCH] Adjust variable name Adjust variable name to be like the definition in VoterInterface --- components/security/authorization.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/security/authorization.rst b/components/security/authorization.rst index d1df7d1f8bb..dee133d53d5 100644 --- a/components/security/authorization.rst +++ b/components/security/authorization.rst @@ -87,7 +87,7 @@ of :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterf which means they have to implement a few methods which allows the decision manager to use them: -``vote(TokenInterface $token, $object, array $attributes)`` +``vote(TokenInterface $token, $subject, array $attributes)`` this method will do the actual voting and return a value equal to one of the class constants of :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface`, i.e. ``VoterInterface::ACCESS_GRANTED``, ``VoterInterface::ACCESS_DENIED`` pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy