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

boot() public method

Register routes, translations, views and publishers.
public boot ( ) : void
return void
    public function boot()
    {
        $this->loadTranslationsFrom(__DIR__ . '/../lang', 'ratchet');
        $this->publishes([__DIR__ . '/../lang' => resource_path('lang/askedio/ratchet')]);
        $this->publishes([__DIR__ . '/../config/ratchet.php' => config_path('ratchet.php')]);
    }
LaravelRatchetServiceProvider