mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-12 17:30:57 +08:00
@@ -57,7 +57,7 @@ class CompareValidator extends Validator
|
||||
*/
|
||||
public $compareAttribute;
|
||||
/**
|
||||
* @var mixed the constant value to be compared with or an anonymous function
|
||||
* @var mixed the constant value to be compared with or an anonymous function
|
||||
* that returns the constant value. When both this property and
|
||||
* [[compareAttribute]] are set, this property takes precedence.
|
||||
* The signature of the anonymous function should be as follows,
|
||||
|
||||
Reference in New Issue
Block a user