protected function registerRepository()
    {
        $this->app->singleton('mapping.repository', function ($app) {
            $table = $app['config']['plastic.mappings'];

            return new Mappings($app['db'], $table);
        });
    }
protected function registerRepository()
    {
        $this->app->singleton('mapping.repository', function ($app) {
            $table = $app['config']['plastic.mappings'];

            return new Mappings($app['db'], $table);
        });
    }
protected function registerRepository ( ) { $ this -> app -> singleton ( 'mapping.repository' , function ( $ app ) { $ table = $ app [ 'config' ] [ 'plastic.mappings' ] ; return new Mappings ( $ app [ 'db' ] , $ table ) ; } ) ; }
Register the mapping repository service.
Register the mapping repository service .