Skip to content

Commit 14864ae

Browse files
committed
Changed service provider name
1 parent 5409a2d commit 14864ae

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ composer require mpyw/laravel-mysql-system-variable-manager
1515

1616
## Basic Usage
1717

18-
The default implementation is provided by `LaravelMySqlSystemVariableManagerServiceProvider`, however, **package discovery is not available**.
18+
The default implementation is provided by `MySqlConnectionServiceProvider`, however, **package discovery is not available**.
1919
Be careful that you MUST register it in **`config/app.php`** by yourself.
2020

2121
```php
@@ -28,7 +28,7 @@ return [
2828
'providers' => [
2929
/* ... */
3030

31-
Mpyw\LaravelMySqlSystemVariableManager\LaravelMySqlSystemVariableManagerServiceProvider::class,
31+
Mpyw\LaravelMySqlSystemVariableManager\MySqlConnectionServiceProvider::class,
3232

3333
/* ... */
3434
],

src/LaravelMySqlSystemVariableManagerServiceProvider.php renamed to src/MySqlConnectionServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
use Illuminate\Support\ServiceProvider;
77

88
/**
9-
* Class LaravelMySqlSystemVariableManagerServiceProvider
9+
* Class MySqlConnectionServiceProvider
1010
*/
11-
class LaravelMySqlSystemVariableManagerServiceProvider extends ServiceProvider
11+
class MySqlConnectionServiceProvider extends ServiceProvider
1212
{
1313
public function boot(): void
1414
{

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Mpyw\LaravelMySqlSystemVariableManager\Tests;
44

55
use Illuminate\Support\Facades\DB;
6-
use Mpyw\LaravelMySqlSystemVariableManager\LaravelMySqlSystemVariableManagerServiceProvider;
6+
use Mpyw\LaravelMySqlSystemVariableManager\MySqlConnectionServiceProvider;
77
use Orchestra\Testbench\TestCase as BaseTestCase;
88
use PDO;
99

@@ -41,7 +41,7 @@ protected function getEnvironmentSetUp($app)
4141
protected function getPackageProviders($app)
4242
{
4343
return [
44-
LaravelMySqlSystemVariableManagerServiceProvider::class,
44+
MySqlConnectionServiceProvider::class,
4545
];
4646
}
4747

0 commit comments

Comments
 (0)