appwrite/src/Appwrite/Functions/Validator/Payload.php

19 lines
312 B
PHP
Raw Normal View History

2024-08-29 14:46:18 +00:00
<?php
namespace Appwrite\Functions\Validator;
2024-10-01 14:30:47 +00:00
use Utopia\Http\Validator\Text;
2024-08-29 14:46:18 +00:00
class Payload extends Text
{
public function __construct(int $length, int $min = 1)
{
parent::__construct($length, $min);
}
public function getType(): string
{
return self::TYPE_STRING;
}
}