app/Http/Requests/User/PasswordRequest.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 [
            'old_password'              => 'required',
            'new_password'              => 'between:6,25|confirmed',
            'new_password_confirmation' => 'between:6,25',
        ];
    }
public function rules ( ) { return [ 'old_password' => 'required' , 'new_password' => 'between:6,25|confirmed' , 'new_password_confirmation' => 'between:6,25' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .