original_string: public function addSource( string $sourceName, ISource $source ) : Translator
     {
  
        $source->setLocale( $this->_locale );
  
        $this->_sources[ $sourceName ] = $source;
  
        return $this;
  
     }
code: public function addSource( string $sourceName, ISource $source ) : Translator
     {
  
        $source->setLocale( $this->_locale );
  
        $this->_sources[ $sourceName ] = $source;
  
        return $this;
  
     }
code_tokens: public function addSource ( string $ sourceName , ISource $ source ) : Translator { $ source -> setLocale ( $ this -> _locale ) ; $ this -> _sources [ $ sourceName ] = $ source ; return $ this ; }
docstring: Adds a source with an associated name.
  
  @param string                               $sourceName The unique source name
  @param \Niirrty\Translation\Sources\ISource $source
  @return \Niirrty\Translation\Translator
docstring_tokens: Adds a source with an associated name .