$range public property
A list of valid values that the attribute value should be among or an anonymous function that returns such a list. The signature of the anonymous function should be as follows, function($model, $attribute) {
// compute range
return $range;
}
public array|Traversable|Closure $range = null