Skip to content

Commit a5e5afb

Browse files
feat: add query log methods to the DB facade (#36188)
1 parent d7e3b9b commit a5e5afb

File tree

1 file changed

+5
-0
lines changed
  • src/Illuminate/Support/Facades

1 file changed

+5
-0
lines changed

src/Illuminate/Support/Facades/DB.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
* @method static int transactionLevel()
2525
* @method static array pretend(\Closure $callback)
2626
* @method static void listen(\Closure $callback)
27+
* @method static void enableQueryLog()
28+
* @method static void disableQueryLog()
29+
* @method static bool logging()
30+
* @method static array getQueryLog()
31+
* @method static void flushQueryLog()
2732
*
2833
* @see \Illuminate\Database\DatabaseManager
2934
* @see \Illuminate\Database\Connection

0 commit comments

Comments
 (0)