protected function registerBeacon()
    {
        $this->app->singleton(BeaconContract::class, function ($app) {
            $config = $app['config'];

            return new Beacon($config);
        });
    }
protected function registerBeacon()
    {
        $this->app->singleton(BeaconContract::class, function ($app) {
            $config = $app['config'];

            return new Beacon($config);
        });
    }
protected function registerBeacon ( ) { $ this -> app -> singleton ( BeaconContract :: class , function ( $ app ) { $ config = $ app [ 'config' ] ; return new Beacon ( $ config ) ; } ) ; }
Register the beacon class.

@return void
Register the beacon class .