问题
解决方案
$ php artisan cache:clear
讨论
Cache::flush()
被称为清空缓存 这个 app/storage/meta/services.json
文件被删除。这个文件是createdas Laravel试图优化服务提供商您的应用程序使用加载。
请注意,因为此命令删除一个文件从本地文件系统,如果你有多个服务器上运行你的应用程序必须执行它的每服务器。
来自 http://laravel-recipes.com/recipes/104/clearing-the-application-cache
Clearing the Application Cache
Problem
Solution
$ php artisan cache:clear
Discussion
Cache::flush()
is called to empty the cache. The app/storage/meta/services.json
file is erased. This file is createdas Laravel tries to optimize the loading of the service providers yourapplication uses.
Please note that since this command deletes a file from the local file system, if you have multiple servers running your application you must execute it on each server.
来自 http://laravel-recipes.com/recipes/104/clearing-the-application-cache