Files
wticreatorstudio/Modules/Chat/Http/Requests/CreateUserStatusRequest.php
T
2024-02-12 22:54:20 -05:00

32 lines
618 B
PHP

<?php
namespace Modules\Chat\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CreateUserStatusRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
$rules['emoji'] = ['required', 'string'];
$rules['status'] = ['required', 'string'];
return $rules;
}
}