Skip to content

Commit 3665c14

Browse files
committed
Adding a note about the method becoming abstract in 3.0
1 parent b101d24 commit 3665c14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/Security/Core/Authorization/Voter/AbstractVoter.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ abstract protected function getSupportedAttributes();
120120
* @param object $object
121121
* @param UserInterface|string $user
122122
*
123-
* @deprecated Override voteOnAttribute instead
123+
* @deprecated This method will be removed in 3.0 - override voteOnAttribute instead.
124124
*
125125
* @return bool
126126
*/
@@ -136,6 +136,8 @@ protected function isGranted($attribute, $object, $user = null)
136136
* a UserInterface object (fully authenticated user)
137137
* a string (anonymously authenticated user).
138138
*
139+
* This method will become abstract in 3.0.
140+
*
139141
* @param string $attribute
140142
* @param object $object
141143
* @param TokenInterface $token

0 commit comments

Comments
 (0)
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