We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 016b81e commit cccab54Copy full SHA for cccab54
src/MondayServiceProvider.php
@@ -22,7 +22,11 @@ public function register()
22
$this->mergeConfigFrom(__DIR__.'/../config/monday.php', 'monday');
23
24
$this->app->bind('monday', function ($app) {
25
- $mondayBoard = new MondayBoard();
+ if(class_exists('\App\Services\MondayBoard')){
26
+ $mondayBoard = new \App\Services\MondayBoard();
27
+ } else {
28
+ $mondayBoard = new MondayBoard();
29
+ }
30
$mondayBoard->setToken(new Token(config('monday.monday_token')));
31
32
return $mondayBoard;
0 commit comments