getPermission() public method
Returns the named permission.
public 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.