akaunting/app/Http/Requests/Common/CustomMail.php
2022-06-01 10:15:55 +03:00

23 lines
430 B
PHP

<?php
namespace App\Http\Requests\Common;
use App\Abstracts\Http\FormRequest;
class CustomMail extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'to' => 'required|email',
'subject' => 'required|string',
'body' => 'required|string',
];
}
}