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::
6565.. tip ::
6666
6767 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 .
7272
7373 .. versionadded :: 5.4
7474
You can’t perform that action at this time.
0 commit comments