暂存
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Webman\Validation\Annotation;
|
||||
|
||||
use Attribute;
|
||||
|
||||
#[Attribute(Attribute::TARGET_PARAMETER)]
|
||||
class Param
|
||||
{
|
||||
public function __construct(
|
||||
public string|array $rules = '',
|
||||
public array $messages = [],
|
||||
public string $attribute = '',
|
||||
public string|array|null $in = null
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user