Laravel php工匠,容器问题

问题描述 投票:0回答:1

我正在尝试将laravel与我的db连接,问题是php artisan没有找到类Cash.store。

你好,

在Container.php第730行中:类cache.store不存在

我尝试更改container.php和cache.php感谢谷歌,但没有任何变化。

我的container.php

   namespace Illuminate\Container;
use Closure;
use ArrayAccess;
use LogicException;
use ReflectionClass;use ReflectionParameter;
use Illuminate\Support\Facades\Cache;
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Contracts\Container\Container as ContainerContract;

还有我的cache.php

use Illuminate\Support\Str;

谢谢你抽出时间:) Ps:我不能写Hello作为第一个字。

php laravel laravel-5 laravel-5.4
1个回答
0
投票

我怎么理解你试图在db中保存你的缓存,如果你们都正确的尝试清理缓存,如果它不会帮助尝试在每一步上通过dd()获取错误。

© www.soinside.com 2019 - 2024. All rights reserved.