original_string: public function addTextDomain($domain, $path): void
      {
          // check path
          if (!is_dir($path)) {
              throw new ConfigurationException("Translator configuration path `$path` not found");
          }
  
          bindtextdomain($domain, $path);
  
          // @todo: hardcoded codeset
          bind_textdomain_codeset($domain, 'UTF-8');
      }
code: public function addTextDomain($domain, $path): void
      {
          // check path
          if (!is_dir($path)) {
              throw new ConfigurationException("Translator configuration path `$path` not found");
          }
  
          bindtextdomain($domain, $path);
  
          // @todo: hardcoded codeset
          bind_textdomain_codeset($domain, 'UTF-8');
      }
code_tokens: public function addTextDomain ( $ domain , $ path ) : void { // check path if ( ! is_dir ( $ path ) ) { throw new ConfigurationException ( "Translator configuration path `$path` not found" ) ; } bindtextdomain ( $ domain , $ path ) ; // @todo: hardcoded codeset bind_textdomain_codeset ( $ domain , 'UTF-8' ) ; }
docstring: Add text domain for gettext
  
  @param  string $domain of text for gettext setup
  @param  string $path   on filesystem
  
  @return void
  @throws ConfigurationException
docstring_tokens: Add text domain for gettext