File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ which makes creating a voter even easier::
65
65
.. tip ::
66
66
67
67
Checking each voter several times can be time consumming for applications
68
- that perform a lot of permission checks. However, when a voter implements
69
- the :class: `Symfony\\ Component\\ Security\\ Core\\ Authorization\\ Voter\\ CacheableVoterInterface `,
70
- the access decision manager, will remember the attribute and type of subject
71
- supported by the voter, and will, next, only call the involved voters.
68
+ that perform a lot of permission checks. To improve performance in those cases,
69
+ you can make your voters implement the :class: `Symfony\\ Component\\ Security\\ Core\\ Authorization\\ Voter\\ CacheableVoterInterface `.
70
+ This allows the access decision manager to remember the attribute and type
71
+ of subject supported by the voter, to only call the needed voters each time .
72
72
73
73
.. versionadded :: 5.4
74
74
You can’t perform that action at this time.
0 commit comments