22 lines
405 B
PHP
22 lines
405 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Http\Requests\ItemMaster;
|
||
|
|
|
||
|
|
use Illuminate\Foundation\Http\FormRequest;
|
||
|
|
|
||
|
|
class ItemPageUpdateRequest extends FormRequest
|
||
|
|
{
|
||
|
|
public function authorize(): bool
|
||
|
|
{
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
|
||
|
|
public function rules(): array
|
||
|
|
{
|
||
|
|
return [
|
||
|
|
'page_name' => 'sometimes|string|max:255',
|
||
|
|
'absolute_path' => 'nullable|string|max:500',
|
||
|
|
];
|
||
|
|
}
|
||
|
|
}
|