%PDF- %PDF-
Direktori : /var/www/html/kpk/api/app/Http/Requests/Users/ |
Current File : /var/www/html/kpk/api/app/Http/Requests/Users/UserEditRequest.php |
<?php namespace App\Http\Requests\Users; use App\Http\Requests\BaseRequest; class UserEditRequest extends BaseRequest { /** * 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 [ 'name' => 'required|string|max:255', 'surname' => 'required|string|max:255', ]; } }