In [Account](), I will rename setPermission and hasPermission to setPermissions and hasPermissions respectively. This is because they accept a list of permissions, not just a single permission. Not only does this raise the level of consistency in the API, it's better grammatical practice.
In [
Account
](), I will renamesetPermission
andhasPermission
tosetPermissions
andhasPermissions
respectively. This is because they accept a list of permissions, not just a single permission. Not only does this raise the level of consistency in the API, it's better grammatical practice.