original_string: protected function get_context_path() : array {
          $path = [];
          $contexts = array_reverse($this->context->get_parent_contexts(true));
          foreach ($contexts as $context) {
              $name = $context->get_context_name();
              $id = ' _.' . $context->id;
              $path[] = shorten_text(clean_param($name, PARAM_FILE),
                      self::MAX_CONTEXT_NAME_LENGTH, true, json_decode('"' . '\u2026' . '"')) . $id;
          }
  
          return $path;
      }
code: protected function get_context_path() : array {
          $path = [];
          $contexts = array_reverse($this->context->get_parent_contexts(true));
          foreach ($contexts as $context) {
              $name = $context->get_context_name();
              $id = ' _.' . $context->id;
              $path[] = shorten_text(clean_param($name, PARAM_FILE),
                      self::MAX_CONTEXT_NAME_LENGTH, true, json_decode('"' . '\u2026' . '"')) . $id;
          }
  
          return $path;
      }
code_tokens: protected function get_context_path ( ) : array { $ path = [ ] ; $ contexts = array_reverse ( $ this -> context -> get_parent_contexts ( true ) ) ; foreach ( $ contexts as $ context ) { $ name = $ context -> get_context_name ( ) ; $ id = ' _.' . $ context -> id ; $ path [ ] = shorten_text ( clean_param ( $ name , PARAM_FILE ) , self :: MAX_CONTEXT_NAME_LENGTH , true , json_decode ( '"' . '\u2026' . '"' ) ) . $ id ; } return $ path ; }
docstring: Determine the path for the current context.
  
  @return array The context path.
  @throws \coding_exception
docstring_tokens: Determine the path for the current context .