mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 14:58:33 +00:00
18 lines
307 B
PHP
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;
|
|
}
|
|
}
|