This commit is contained in:
2020-12-15 12:24:38 +08:00
parent cc848807f7
commit c2d9250be9
10 changed files with 134 additions and 196 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace Annotation;
/**
* Class RequestValidator
* @package Annotation
*/
#[\Attribute(\Attribute::TARGET_METHOD)] class RequestValidator
{
/**
* RequestValidator constructor.
* @param array $validators
*/
public function __construct(public array $validators)
{
}
}