mini-aspire/app/Http/Requests/API/Admin/UserUpdateAdminRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'name' => 'min:2|max:100',
            'password'  => 'min:5',
        ];
    }
public function rules ( ) { return [ 'name' => 'min:2|max:100' , 'password' => 'min:5' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .