$denyCallback public property
A callback that will be called if this rule determines the access to the current action should be denied. If not set, the behavior will be determined by yii\filters\AccessControl. The signature of the callback should be as follows: function ($rule, $action)
where $rule is this rule, and $action is the current action object.
public callable $denyCallback = null