src/CMSCoreServiceProvider.php
protected function registerEventProvider()
    {
        $this->app->bindShared('eventprovider', function ($app) {
            $model = $app['config']['graham-campbell/cms-core::event'];
            $event = new $model();

            return new Providers\EventProvider($event);
        });
    }
protected function registerEventProvider()
    {
        $this->app->bindShared('eventprovider', function ($app) {
            $model = $app['config']['graham-campbell/cms-core::event'];
            $event = new $model();

            return new Providers\EventProvider($event);
        });
    }
protected function registerEventProvider ( ) { $ this -> app -> bindShared ( 'eventprovider' , function ( $ app ) { $ model = $ app [ 'config' ] [ 'graham-campbell/cms-core::event' ] ; $ event = new $ model ( ) ; return new Providers \ EventProvider ( $ event ) ; } ) ; }
Register the event provider class.

@return void
Register the event provider class .