Files
sibedas/resources/laravel-code-generator/templates/default/view-model.stub
Firman Herdiansyah 99e99fa2e6 Update Dashboard Layout
2025-02-05 13:36:33 +07:00

30 lines
503 B
Plaintext

<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class [% view_model_class %] extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return false;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
[% validation_rules %]
];
}
}