original_string: protected function getSessionData($key)
      {
          if ($key === 'id') {
              return session_id();
          }
  
          return isset($_SESSION[$key]) ? $_SESSION[$key] : null;
      }
code: protected function getSessionData($key)
      {
          if ($key === 'id') {
              return session_id();
          }
  
          return isset($_SESSION[$key]) ? $_SESSION[$key] : null;
      }
code_tokens: protected function getSessionData ( $ key ) { if ( $ key === 'id' ) { return session_id ( ) ; } return isset ( $ _SESSION [ $ key ] ) ? $ _SESSION [ $ key ] : null ; }
docstring: Get session data
  
  @param type $key
docstring_tokens: Get session data