File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ composer require mpyw/laravel-mysql-system-variable-manager
1818
1919## Basic Usage
2020
21- The default implementation is provided by ` MySqlConnectionServiceProvider ` , however, ** package discovery is not available** .
21+ > [ !IMPORTANT]
22+ > The default implementation is provided by ` MySqlConnectionServiceProvider ` , however, ** package discovery is not available** .
2223 Be careful that you MUST register it in ** ` config/app.php ` ** by yourself.
2324
2425``` php
@@ -84,13 +85,14 @@ DB::usingSystemVariables(
8485);
8586```
8687
87- ** WARNING: **
88- Don't use ` DB::disconnect() ` directly or auto-recovery won't be fired.
89- Use ** ` DB::connection()->disconnect() ` ** instead.
88+ > [ !CAUTION ]
89+ > Don't use ` DB::disconnect() ` directly or auto-recovery won't be fired.
90+ > Use ** ` DB::connection()->disconnect() ` ** instead.
9091
9192## Advanced Usage
9293
93- You can extend ` MySqlConnection ` with ` ManagesSystemVariables ` trait by yourself.
94+ > [ !TIP]
95+ > You can extend ` MySqlConnection ` with ` ManagesSystemVariables ` trait by yourself.
9496
9597``` php
9698<?php
You can’t perform that action at this time.
0 commit comments