validators\FilterValidator $filter

$filter public property

The filter. This can be a global function name, anonymous function, etc. The function signature must be as follows,

function foo($value) {
    // compute $newValue here
    return $newValue;
}
public callable $filter = null
doc_Yii
2016-10-30 17:13:44
Comments
Leave a Comment

Please login to continue.