File tree 1 file changed +7
-5
lines changed
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
18
18
19
19
## Basic Usage
20
20
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** .
22
23
Be careful that you MUST register it in ** ` config/app.php ` ** by yourself.
23
24
24
25
``` php
@@ -84,13 +85,14 @@ DB::usingSystemVariables(
84
85
);
85
86
```
86
87
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.
90
91
91
92
## Advanced Usage
92
93
93
- You can extend ` MySqlConnection ` with ` ManagesSystemVariables ` trait by yourself.
94
+ > [ !TIP]
95
+ > You can extend ` MySqlConnection ` with ` ManagesSystemVariables ` trait by yourself.
94
96
95
97
``` php
96
98
<?php
You can’t perform that action at this time.
0 commit comments