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

40 lines
752 B
PHP

<?php
namespace Modules\Chat\Http\Requests;
use Modules\Chat\Entities\ZoomMeeting;
use Illuminate\Foundation\Http\FormRequest;
class CreateMeetingRequest 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()
{
return ZoomMeeting::$rules;
}
/**
* @return string[]
*/
public function messages()
{
return [
'agenda.required' => 'Description field is required.',
];
}
}