Askedio\LaravelRatchet\Providers\LaravelRatchetServiceProvider::register PHP Method

register() public method

Register the service provider.
public register ( ) : void
return void
    public function register()
    {
        $this->app->register(\GrahamCampbell\Throttle\ThrottleServiceProvider::class);
        $this->app->singleton('command.ratchet.serve', function () {
            return new RatchetServerCommand();
        });
        $this->commands('command.ratchet.serve');
        $this->mergeConfigFrom(__DIR__ . '/../config/ratchet.php', 'ratchet');
    }
LaravelRatchetServiceProvider