Files
dots-bot-api/app/Http/Requests/StoreItemRequest.php
T
KKlochko 18bd849827 Added Item model, resource and its API.
Updated Category model to have Items.
2023-06-14 17:16:50 +03:00

29 lines
546 B
PHP

<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreItemRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return false;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array|string>
*/
public function rules(): array
{
return [
//
];
}
}