appwrite/src/Appwrite/Functions/Validator/Payload.php
2024-10-08 20:54:40 +13:00

18 lines
307 B
PHP

<?php
namespace Appwrite\Functions\Validator;
use Utopia\Validator\Text;
class Payload extends Text
{
public function __construct(int $length, int $min = 1)
{
parent::__construct($length, $min);
}
public function getType(): string
{
return self::TYPE_STRING;
}
}