original_string: public function getMainUrlFromName($social)
      {
          foreach ($this->getDefinitions() as $domain => $name) {
  
              if ($name == $social) {
  
                  return $domain;
              }
          }
          return null;
      }
code: public function getMainUrlFromName($social)
      {
          foreach ($this->getDefinitions() as $domain => $name) {
  
              if ($name == $social) {
  
                  return $domain;
              }
          }
          return null;
      }
code_tokens: public function getMainUrlFromName ( $ social ) { foreach ( $ this -> getDefinitions ( ) as $ domain => $ name ) { if ( $ name == $ social ) { return $ domain ; } } return null ; }
docstring: Returns the main url of the given social network
  
  @param string  $social
  
  @return string
docstring_tokens: Returns the main url of the given social network