original_string: protected function registerTranslator()
      {
          $this->getContainer()
              ->share('translator', function () {
                  $translator = new Translator('en');
                  $translator->addLoader('php', new PhpFileLoader());
                  return $translator;
              });
      }
code: protected function registerTranslator()
      {
          $this->getContainer()
              ->share('translator', function () {
                  $translator = new Translator('en');
                  $translator->addLoader('php', new PhpFileLoader());
                  return $translator;
              });
      }
code_tokens: protected function registerTranslator ( ) { $ this -> getContainer ( ) -> share ( 'translator' , function ( ) { $ translator = new Translator ( 'en' ) ; $ translator -> addLoader ( 'php' , new PhpFileLoader ( ) ) ; return $ translator ; } ) ; }
docstring: Register the session manager instance.
  
  @return void
docstring_tokens: Register the session manager instance .