Commit f278b8b
committed
feature #43898 [Security] Make the abstract Voter class implement CacheableVoterInterface (javiereguiluz)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[Security] Make the abstract Voter class implement CacheableVoterInterface
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Related to this --> https://symfony.com/blog/new-in-symfony-5-4-faster-security-voters
The abstract `Voter` class is "a helper" to simplify the creation of custom voters. I propose to implement the new `CacheableVoterInterface`, so this nice feature is easier to discover and ready-to-use for those developers extending `Voter`.
Commits
-------
f230d0f002 [Security] Make the abstract Voter class implement CacheableVoterInterface1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
62 | 82 | | |
63 | 83 | | |
64 | 84 | | |
| |||
0 commit comments