This commit is contained in:
2021-02-22 17:44:24 +08:00
parent 3b09b9a308
commit 2d1f83cf09
34 changed files with 732 additions and 222 deletions
+11 -1
View File
@@ -11,7 +11,7 @@ use validator\Validator;
* Class RequestValidator
* @package Annotation
*/
#[\Attribute(\Attribute::TARGET_METHOD)] class RequestValidator
#[\Attribute(\Attribute::TARGET_METHOD)] class RequestValidator implements IAnnotation
{
/**
@@ -24,4 +24,14 @@ use validator\Validator;
}
/**
* @param array $handler
* @return bool
*/
public function execute(array $handler): bool
{
return true;
}
}