This commit is contained in:
lexx committed 2023-10-02 23:10:49 +03:00
commit c6cb488379
255 files changed
+18731

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace Lucent\Validator;
use Lucent\Validator\Validator;
class Uid
{
public string $value;
function __construct(string $value)
{
Validator::single("Uid", $value, "required|alpha_dash|min:2|max:50");
$this->value = $value;
}
function value(): string
{
return $this->value;
}
}