Files
kiri-core/Annotation/RequestValidator.php
T

28 lines
357 B
PHP
Raw Normal View History

2020-12-15 12:24:38 +08:00
<?php
namespace Annotation;
2020-12-16 15:20:51 +08:00
use Exception;
use validator\Validator;
2020-12-15 12:24:38 +08:00
/**
* Class RequestValidator
* @package Annotation
*/
#[\Attribute(\Attribute::TARGET_METHOD)] class RequestValidator
{
/**
* RequestValidator constructor.
* @param array $validators
2020-12-16 15:20:51 +08:00
* @throws Exception
2020-12-15 12:24:38 +08:00
*/
public function __construct(public array $validators)
{
}
}