original_string: public function getIdentifierByName($name)
      {
          foreach ($this->licenses as $identifier => $licenseData) {
              if ($licenseData[0] === $name) { // key 0 = fullname
                  return $identifier;
              }
          }
      }
code: public function getIdentifierByName($name)
      {
          foreach ($this->licenses as $identifier => $licenseData) {
              if ($licenseData[0] === $name) { // key 0 = fullname
                  return $identifier;
              }
          }
      }
code_tokens: public function getIdentifierByName ( $ name ) { foreach ( $ this -> licenses as $ identifier => $ licenseData ) { if ( $ licenseData [ 0 ] === $ name ) { // key 0 = fullname return $ identifier ; } } }
docstring: Returns the short identifier of a license by full name.
  
  @param string $identifier
  
  @return string
docstring_tokens: Returns the short identifier of a license by full name .