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

            return new Providers\CommentProvider($comment);
        });
    }
protected function registerCommentProvider()
    {
        $this->app->bindShared('commentprovider', function ($app) {
            $model = $app['config']['graham-campbell/cms-core::comment'];
            $comment = new $model();

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

@return void
Register the comment provider class .