filters\AccessRule $matchCallback

$matchCallback public property

A callback that will be called to determine if the rule should be applied. The signature of the callback should be as follows:

function ($rule, $action)

where $rule is this rule, and $action is the current action object. The callback should return a boolean value indicating whether this rule should be applied.

public callable $matchCallback = null
doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.