Skip to content

Commit 4d2977f

Browse files
authored
Update README.md
1 parent a7ebb26 commit 4d2977f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)