validate()
validate(string $name = '', string $layer = 'validate', boolean $appendSuffix = false, string $common = 'common') : \think\Validate
static 实例化验证器类
Parameters
string |
$name |
|
string |
$layer |
|
boolean |
$appendSuffix |
|
string |
$common |
|
Returns
\think\Validate