Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
gilour
/
app
/
Http
/
Requests
/
Admin
/
Salary
:
StoreRequest.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace App\Http\Requests\Admin\Salary; use App\Classes\Reply; use App\Http\Requests\AdminCoreRequest; use App\Models\Admin; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Lang; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Exceptions\HttpResponseException; class StoreRequest extends AdminCoreRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'type' => 'required', 'salary' => 'required' ]; } }