mirror of
https://github.com/flarum/framework.git
synced 2025-03-13 05:45:21 +08:00
25 lines
452 B
PHP
25 lines
452 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Flarum.
|
|
*
|
|
* (c) Toby Zerner <toby.zerner@gmail.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Flarum\Post;
|
|
|
|
use Flarum\Foundation\AbstractValidator;
|
|
|
|
class PostValidator extends AbstractValidator
|
|
{
|
|
protected $rules = [
|
|
'content' => [
|
|
'required',
|
|
'max:65535'
|
|
]
|
|
];
|
|
}
|