getPermission() public abstract method
Returns the named permission.
public abstract null|yii\rbac\Permission getPermission ( $name ) | ||
---|---|---|
$name | string |
The permission name. |
return | null|yii\rbac\Permission |
The permission corresponding to the specified name. Null is returned if no such permission. |
Please login to continue.