original_string: protected function getSessionKey($type = null)
      {
          return $this->context
               . ($this->contextSub ? '[' . $this->contextSub . ']' : null)
               . ($type ? ':' . $type : null);
      }
code: protected function getSessionKey($type = null)
      {
          return $this->context
               . ($this->contextSub ? '[' . $this->contextSub . ']' : null)
               . ($type ? ':' . $type : null);
      }
code_tokens: protected function getSessionKey ( $ type = null ) { return $ this -> context . ( $ this -> contextSub ? '[' . $ this -> contextSub . ']' : null ) . ( $ type ? ':' . $ type : null ) ; }
docstring: Returns session key, optionally for a given type of data.
  
  @param string|null $type
  @return string
docstring_tokens: Returns session key optionally for a given type of data .