🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### **Manager & Factories** ### Laravel has several ``Manager`` classes that manage the creation of driver-based components. These include the cache, session, authentication, and queue components. The manager class is responsible for creating a particular driver implementation based on the application's configuration. For example, the ``CacheManager`` class can create APC, Memcached, Native, and various other implementations of cache drivers. Each of these managers includes an ``extend`` method which may be used to easily inject new driver resolution functionality into the manager. We'll cover each of these managers below, with examples of how to inject custom driver support into each of them. > Learn About Your Managers > > Take a moment to explore the various ``Manager`` classes that ship with Laravel, such as the ``CacheManager`` and ``SessionManager``. Reading through these classes will give you a more thorough understanding of how Laravel works under the hood. All ``manager`` classes extend the ``Illuminate\Support\Manager`` base class, which provides some helpful, common functionality for each manager.