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

            return new Providers\PostProvider($post);
        });
    }
protected function registerPostProvider()
    {
        $this->app->bindShared('postprovider', function ($app) {
            $model = $app['config']['graham-campbell/cms-core::post'];
            $post = new $model();

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

@return void
Register the post provider class .