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 295f5ee commit 3362698Copy full SHA for 3362698
UPGRADE-3.0.md
@@ -995,7 +995,7 @@ UPGRADE FROM 2.x to 3.0
995
```
996
997
* The `AbstractVoter::getSupportedAttributes()` and `AbstractVoter::getSupportedClasses()`
998
- methods have been removed in favor of `AbstractVoter::supports()`.
+ methods have been removed in favor of `Voter::supports()`.
999
1000
Before:
1001
@@ -1019,7 +1019,9 @@ UPGRADE FROM 2.x to 3.0
1019
After:
1020
1021
```php
1022
- class MyVoter extends AbstractVoter
+ use Symfony\Component\Security\Core\Authorization\Voter\Voter;
1023
+
1024
+ class MyVoter extends Voter
1025
{
1026
protected function supports($attribute, $object)
1027
0 commit comments