Current File : //proc/2891576/root/home/itiffy/public_html/app/Http/Requests/CreateRequestAQuoteRequest.php |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CreateRequestAQuoteRequest 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 [
'full_name' => 'required',
'email' => 'required',
'phone_number' => 'required',
'address' => 'required',
'attachment' => 'max:2048',
];
}
}