original_string: public function getServiceIdByName($name)
      {
          $map = array_flip($this->getServiceIdNameMap());
          if (array_key_exists($name, $map)) {
              return $map[$name];
          }
  
          return null;
      }
code: public function getServiceIdByName($name)
      {
          $map = array_flip($this->getServiceIdNameMap());
          if (array_key_exists($name, $map)) {
              return $map[$name];
          }
  
          return null;
      }
code_tokens: public function getServiceIdByName ( $ name ) { $ map = array_flip ( $ this -> getServiceIdNameMap ( ) ) ; if ( array_key_exists ( $ name , $ map ) ) { return $ map [ $ name ] ; } return null ; }
docstring: Get a service identifier by its name.
  
  @param  string $name
  
  @return int|null
docstring_tokens: Get a service identifier by its name .