Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Merge config, remove vendor:publish issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Brosy committed Apr 20, 2017
1 parent ffdf00a commit 2122ba0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/FCMServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ public function boot()

public function register()
{
if (!str_contains($this->app->version(), 'Lumen')) {
$this->mergeConfigFrom(__DIR__.'/../config/fcm.php', 'fcm');
}

$this->app->singleton('fcm.client', function ($app) {
return (new FCMManager($app))->driver();
});
Expand Down

0 comments on commit 2122ba0

Please sign in to comment.