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);
        });
    }