27 lines
432 B
Plaintext
27 lines
432 B
Plaintext
<?php
|
|
|
|
namespace $NAMESPACE$;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class $CLASS$ extends FormRequest
|
|
{
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*/
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
//
|
|
];
|
|
}
|
|
|
|
/**
|
|
* Determine if the user is authorized to make this request.
|
|
*/
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
}
|