neone
V2EX  ›  PHP

laravel 里的 DB 类定义在哪个文件里?

  •  
  •   neone · Nov 19, 2014 · 7926 views
    This topic created in 4392 days ago, the information mentioned may be changed or developed.
    DB类定义在什么文件里?我找半天没找到。
    2 replies  •  2014-11-20 18:19:16 +08:00
    bearcat001
    bearcat001
    Nov 19, 2014❤️1
    1
    很正常,因为它是个Facade,\Illuminate\Support\Facades\DB
    然后真正起作用的是 \Illuminate\Database\DatabaseManager
    jacob
    jacob
    Nov 20, 2014
    2
    laravel 用的 illuminate/database 的composer插件
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1326 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 17:12 · PVG 01:12 · LAX 09:12 · JFK 12:12
    ♥ Do have faith in what you're doing.