]> Raphaël G. Git Repositories - userbundle/commitdiff
Add ROLE_ related note
authorRaphaël Gertz <git@rapsys.eu>
Mon, 11 Dec 2023 02:14:16 +0000 (03:14 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 11 Dec 2023 02:14:16 +0000 (03:14 +0100)
Entity/Group.php

index c97515c1f36f1e3ad260136508df93dc87f42cb0..901fbc64d82897989cad5722861d93b161020ee9 100644 (file)
@@ -190,6 +190,7 @@ class Group {
         * @return string
         */
        public function getRole(): string {
+               //XXX: $prefix = 'ROLE_' set in Role*Voter classes
                return 'ROLE_'.strtoupper($this->title);
        }
 }