Метод | Описание | |
---|---|---|
getPermissions ( string $type, string $identifier ) : array | Returns the permissions for all security identities. | |
setPermissions ( string $type, string $identifier, $permissions ) | Sets the permissions for the object with the given class and id for the given security identity. | |
supports ( string $type ) : boolean | Returns whether this provider supports the given type. |
public setPermissions ( string $type, string $identifier, $permissions ) | ||
$type | string | The name of the class to protect |
$identifier | string | |
$permissions |