Nahid\Talk\TalkServiceProvider::registerTalk PHP Method

registerTalk() protected method

Register Talk class.
protected registerTalk ( )
    protected function registerTalk()
    {
        $this->app->singleton('talk', function (Container $app) {
            return new Talk($app['config'], $app['talk.broadcast'], $app[ConversationRepository::class], $app[MessageRepository::class]);
        });
        $this->app->alias('talk', Talk::class);
    }