扩展功能
This commit is contained in:
11
extend/catcher/validates/ValidateInterface.php
Normal file
11
extend/catcher/validates/ValidateInterface.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
namespace catcher\validates;
|
||||
|
||||
interface ValidateInterface
|
||||
{
|
||||
public function type(): string ;
|
||||
|
||||
public function verify($value, $field): bool ;
|
||||
|
||||
public function message(): string ;
|
||||
}
|
Reference in New Issue
Block a user