original_string: protected function registerRegistry()
      {
          $this->app['registry'] = $this->app->share(function($app)
          {
              $config = $app->config->get('registry', array());
  
              return new Registry($app['db'], $app['registry.cache'], $config);
          });
      }
code: protected function registerRegistry()
      {
          $this->app['registry'] = $this->app->share(function($app)
          {
              $config = $app->config->get('registry', array());
  
              return new Registry($app['db'], $app['registry.cache'], $config);
          });
      }
code_tokens: protected function registerRegistry ( ) { $ this -> app [ 'registry' ] = $ this -> app -> share ( function ( $ app ) { $ config = $ app -> config -> get ( 'registry' , array ( ) ) ; return new Registry ( $ app [ 'db' ] , $ app [ 'registry.cache' ] , $ config ) ; } ) ; }
docstring: Register the collection repository.
  
  @return void
docstring_tokens: Register the collection repository .