original_string: private function matchRelationship(
          Identity $identity,
          object $entity,
          Relationship $meta,
          MapInterface $changeset,
          Query $query
      ): Query {
          $name = $this->name->sprintf(\md5($identity->value()));
          $this->variables = $this->variables->put(
              $name,
              $this->buildProperties(
                  $changeset,
                  $meta->properties()
              )
          );
  
          return $query
              ->match()
              ->linkedTo()
              ->through(
                  (string) $meta->type(),
                  (string) $name
              )
              ->withProperty(
                  $meta->identity()->property(),
                  (string) $name
                      ->prepend('{')
                      ->append('_identity}')
              )
              ->withParameter(
                  (string) $name->append('_identity'),
                  $identity->value()
              );
      }
code: private function matchRelationship(
          Identity $identity,
          object $entity,
          Relationship $meta,
          MapInterface $changeset,
          Query $query
      ): Query {
          $name = $this->name->sprintf(\md5($identity->value()));
          $this->variables = $this->variables->put(
              $name,
              $this->buildProperties(
                  $changeset,
                  $meta->properties()
              )
          );
  
          return $query
              ->match()
              ->linkedTo()
              ->through(
                  (string) $meta->type(),
                  (string) $name
              )
              ->withProperty(
                  $meta->identity()->property(),
                  (string) $name
                      ->prepend('{')
                      ->append('_identity}')
              )
              ->withParameter(
                  (string) $name->append('_identity'),
                  $identity->value()
              );
      }
code_tokens: private function matchRelationship ( Identity $ identity , object $ entity , Relationship $ meta , MapInterface $ changeset , Query $ query ) : Query { $ name = $ this -> name -> sprintf ( \ md5 ( $ identity -> value ( ) ) ) ; $ this -> variables = $ this -> variables -> put ( $ name , $ this -> buildProperties ( $ changeset , $ meta -> properties ( ) ) ) ; return $ query -> match ( ) -> linkedTo ( ) -> through ( ( string ) $ meta -> type ( ) , ( string ) $ name ) -> withProperty ( $ meta -> identity ( ) -> property ( ) , ( string ) $ name -> prepend ( '{' ) -> append ( '_identity}' ) ) -> withParameter ( ( string ) $ name -> append ( '_identity' ) , $ identity -> value ( ) ) ; }
docstring: Add the match clause for a relationship
  
  @param MapInterface<string, mixed> $changeset
docstring_tokens: Add the match clause for a relationship