getRule() public method
Returns the rule of the specified name.
public null|yii\rbac\Rule getRule ( $name ) | ||
---|---|---|
$name | string |
The rule name |
return | null|yii\rbac\Rule |
The rule object, or null if the specified name does not correspond to a rule. |
Please login to continue.