This commit is contained in:
2026-05-01 23:40:14 +08:00
commit b8f599a617
3867 changed files with 478663 additions and 0 deletions
+18
View File
@@ -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
) {
}
}