src/commentsServiceProvider.php
protected function registerComments()
    {
        $this->app->singleton('comments', function ($app) {
            $blog = new Comments($app['jlourenco.comments.comment']);

            return $blog;
        });

        $this->app->alias('comments', 'jlourenco\comments\Comments');
    }
protected function registerComments()
    {
        $this->app->singleton('comments', function ($app) {
            $blog = new Comments($app['jlourenco.comments.comment']);

            return $blog;
        });

        $this->app->alias('comments', 'jlourenco\comments\Comments');
    }
protected function registerComments ( ) { $ this -> app -> singleton ( 'comments' , function ( $ app ) { $ blog = new Comments ( $ app [ 'jlourenco.comments.comment' ] ) ; return $ blog ; } ) ; $ this -> app -> alias ( 'comments' , 'jlourenco\comments\Comments' ) ; }
Registers log.

@return void
Registers log .