讨论数量:
在 Illuminate\Cache\CacheServiceProvider
中已经将 cache
注入到容器了,在使用门面 Cache
会通过继承Facade
中的
找到注入容器中的cache
在 Illuminate\Cache\CacheServiceProvider
中已经将 cache
注入到容器了,在使用门面 Cache
会通过继承Facade
中的
找到注入容器中的cache
推荐文章: