rbac\ManagerInterface getRule()

getRule() public abstract method

Returns the rule of the specified name.

public abstract 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.

doc_Yii
2016-10-30 17:10:13
Comments
Leave a Comment

Please login to continue.