mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-15 02:07:56 -04:00
40 lines
752 B
PHP
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.',
|
|
];
|
|
}
|
|
}
|