mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 06:48:59 +08:00
Update FilterValidator.php
This commit is contained in:
@@ -18,7 +18,10 @@ use yii\base\InvalidConfigException;
|
|||||||
* a valid PHP callback with the following signature:
|
* a valid PHP callback with the following signature:
|
||||||
*
|
*
|
||||||
* ```php
|
* ```php
|
||||||
* function foo($value) { return $newValue; }
|
* function foo($value) {
|
||||||
|
* // compute $newValue here
|
||||||
|
* return $newValue;
|
||||||
|
* }
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* Many PHP functions qualify this signature (e.g. `trim()`).
|
* Many PHP functions qualify this signature (e.g. `trim()`).
|
||||||
|
|||||||
Reference in New Issue
Block a user