Skip to content

Commit

Permalink
package register added trail added
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Apr 21, 2024
1 parent f7019b1 commit 6ecea83
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/RemitServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,25 @@

namespace Fintech\Remit;

use Fintech\Core\Traits\RegisterPackageTrait;
use Fintech\Remit\Commands\AgraniInstallCommand;
use Fintech\Remit\Commands\InstallCommand;
use Fintech\Remit\Commands\RemitCommand;
use Illuminate\Support\ServiceProvider;

class RemitServiceProvider extends ServiceProvider
{
use RegisterPackageTrait;

/**
* Register any application services.
*
* @return void
*/
public function register()
{
$this->packageCode = 'remit';

$this->mergeConfigFrom(
__DIR__.'/../config/remit.php', 'fintech.remit'
);
Expand All @@ -29,6 +34,8 @@ public function register()
*/
public function boot(): void
{
$this->injectOnConfig();

$this->publishes([
__DIR__.'/../config/remit.php' => config_path('fintech/remit.php'),
]);
Expand Down

0 comments on commit 6ecea83

Please sign in to comment.