Skip to content

Commit b576751

Browse files
committed
register publishable config
1 parent 1607faa commit b576751

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/PaystackServiceProvider.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ public function register()
2929
);
3030
}
3131

32+
protected function registerPublishables(): void
33+
{
34+
$this->publishes([
35+
__DIR__ . '/../config/paystack.php' => config_path('paystack.php'),
36+
], 'config');
37+
}
38+
3239
/**
3340
* Get the services provided by the provider.
3441
*
@@ -46,6 +53,6 @@ function provides()
4653
*/
4754
public function boot()
4855
{
49-
//
56+
$this->registerPublishables();
5057
}
5158
}

0 commit comments

Comments
 (0)