lpj/app/Http/Requests/ArahMataAnginRequest.php

31 lines
618 B
PHP
Raw Normal View History

2024-08-14 10:40:48 +00:00
<?php
namespace Modules\Lpj\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ArahMataAnginRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*/
public function rules()
: array
{
$rules = [
'name' => 'required|max:255',
];
return $rules;
}
/**
* Determine if the user is authorized to make this request.
*/
public function authorize()
: bool
{
return true;
}
}