Made $map protected and moved it to construct.
Made $map protected and moved it to construct.

By making $map protected and moving it to the construct, you can simply extend the BasicPermissionMap class if you want to simply add some extra permissions. In it's current form, you have to copy/paste the entire array AND the getMasks and contains functions. 
symfony/Security,showpad/Symfony-Security