catchAdmin/extend/catcher/validates/ValidateInterface.php

14 lines
217 B
PHP
Raw Normal View History

2019-12-06 09:17:40 +08:00
<?php
2020-11-29 09:29:14 +08:00
declare(strict_types=1);
2019-12-06 09:17:40 +08:00
namespace catcher\validates;
interface ValidateInterface
{
public function type(): string ;
2019-12-07 17:31:38 +08:00
public function verify($value): bool ;
2019-12-06 09:17:40 +08:00
public function message(): string ;
}