This commit is contained in:
Your Name
2021-07-28 22:02:10 +02:00
parent a6d844bd01
commit df0f8f36f7
5 changed files with 73 additions and 0 deletions
+5
View File
@@ -34,12 +34,17 @@ class Plugin extends PluginBase
public function boot()
{
App::make('October\Rain\Support\ClassLoader')->addDirectories('graphql');
$this->bootPackages();
App::register(GraphqlServiceProvider::class);
App::register(SubscriptionServiceProvider::class);
$this->app->singleton(DatabaseManager::class, function ($app) {
return $app->make('db');
});
\Illuminate\Support\Facades\Broadcast::routes(['prefix' => '', 'middleware' => 'GermanAirlinesVA\\Graphql\\Classes\\Authentication']);
require("channels/channels.php");
}
public function bootPackages()