opnform/app/Http/Requests/Subscriptions/UpdateStripeDetailsRequest.php

22 lines
421 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Http\Requests\Subscriptions;
use Illuminate\Foundation\Http\FormRequest;
class UpdateStripeDetailsRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array<string, mixed>
*/
public function rules()
{
return [
'name' => 'required|string',
'email' => 'required|email',
];
}
}