protected function bindSentinelProvider()
    {
        $this->app->singleton('revisionable.userprovider', function ($app) {
            $field = $app['config']->get('sofa_revisionable.userfield');

            return new Adapters\Sentinel($app['sentinel'], $field);
        });
    }
protected function bindSentinelProvider()
    {
        $this->app->singleton('revisionable.userprovider', function ($app) {
            $field = $app['config']->get('sofa_revisionable.userfield');

            return new Adapters\Sentinel($app['sentinel'], $field);
        });
    }
protected function bindSentinelProvider ( ) { $ this -> app -> singleton ( 'revisionable.userprovider' , function ( $ app ) { $ field = $ app [ 'config' ] -> get ( 'sofa_revisionable.userfield' ) ; return new Adapters \ Sentinel ( $ app [ 'sentinel' ] , $ field ) ; } ) ; }
Bind adapter for Sentinel to the IoC.
Bind adapter for Sentinel to the IoC .