original_string: public static function startWithNode(
          string $variable = null,
          array $labels = []
      ): self {
          $path = new self;
          $path->elements = $path->elements->add(
              new Node($variable, $labels)
          );
          $path->lastOperation = Node::class;
  
          return $path;
      }
code: public static function startWithNode(
          string $variable = null,
          array $labels = []
      ): self {
          $path = new self;
          $path->elements = $path->elements->add(
              new Node($variable, $labels)
          );
          $path->lastOperation = Node::class;
  
          return $path;
      }
code_tokens: public static function startWithNode ( string $ variable = null , array $ labels = [ ] ) : self { $ path = new self ; $ path -> elements = $ path -> elements -> add ( new Node ( $ variable , $ labels ) ) ; $ path -> lastOperation = Node :: class ; return $ path ; }
docstring: Start the path with the given node
  
  @param string $variable
  @param array $labels
  
  @return self
docstring_tokens: Start the path with the given node