updating env example file

This commit is contained in:
2022-03-30 13:23:25 -06:00
parent f96e7eb0aa
commit 74055ea11b
20 changed files with 850 additions and 77 deletions

View File

@ -0,0 +1,43 @@
<?php
namespace App\Http\Requests\Users;
use Illuminate\Foundation\Http\FormRequest;
class StoreRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize(): bool
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules(): array
{
return [
//
];
}
/**
* Prepare the data for validation.
*
* @throws \JsonException
*
* @return void
*/
protected function prepareForValidation(): void
{
// Use this if you want to have some JSON be converted from a string to an object(?)
//$this->merge(json_decode($this->payload, true, 512, JSON_THROW_ON_ERROR));
}
}