opnform/app/Http/Requests/AiGenerateFormRequest.php

21 lines
367 B
PHP
Raw Normal View History

2023-03-26 10:54:12 +00:00
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class AiGenerateFormRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array<string, mixed>
*/
public function rules()
{
return [
'form_prompt' => 'required|string'
];
}
}