Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gabeta committed Feb 1, 2021
1 parent 45a60b8 commit 24440aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/laraPnnServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ class laraPnnServiceProvider extends ServiceProvider
{
public function register()
{
$this->mergeConfigFrom(__DIR__.'/../config/larapnn.php', 'larapnn');

$this->app->bind('laraPnn', function ($app) {
return new LaraPnn();
});
}

public function boot()
{
$this->mergeConfigFrom(__DIR__.'/../config/larapnn.php', 'larapnn');

if ($this->app->runningInConsole()) {
$this->commands([
LaraPnnMigrateCommand::class,
Expand Down

0 comments on commit 24440aa

Please sign in to comment.