original_string: public function getConstIdByName($prefix, $name)
      {
          $nameToIds = $this->getConstNameToIds($prefix);
  
          return isset($nameToIds[$name]) ? $nameToIds[$name] : null;
      }
code: public function getConstIdByName($prefix, $name)
      {
          $nameToIds = $this->getConstNameToIds($prefix);
  
          return isset($nameToIds[$name]) ? $nameToIds[$name] : null;
      }
code_tokens: public function getConstIdByName ( $ prefix , $ name ) { $ nameToIds = $ this -> getConstNameToIds ( $ prefix ) ; return isset ( $ nameToIds [ $ name ] ) ? $ nameToIds [ $ name ] : null ; }
docstring: Returns the constant id by name
  
  @param string $prefix
  @param string $name
  @return int
docstring_tokens: Returns the constant id by name