$value public property
The default value or an anonymous function that returns the default value which will be assigned to the attributes being validated if they are empty. The signature of the anonymous function should be as follows,
function($model, $attribute) { // compute value return $value; }
public mixed $value = null
Please login to continue.