laravel5.4 安装好redis扩展 phpstorm不提示


<?php

namespace App\Http\Controllers;

use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Redis;

class UserController extends Controller
{
/**
Display a listing of the resource.

@return \Illuminate\Http\Response
/
public function index()
{
var_export(Redis::get('name'));
die;
}
}


Vote Vote Cancel Collect Collect Cancel

<< 上一篇: laravel5.5 升级出问题!有人知道原因吗

>> 下一篇: laravel5.5关于delete的疑惑