src/Query/Query.php
public function match(string $variable = null, array $labels = []): self
    {
        $query = new self;
        $query->clauses = $this->clauses->add(
            new Clause\MatchClause(
                Clause\Expression\Path::startWithNode($variable, $labels)
            )
        );

        return $query;
    }
public function match(string $variable = null, array $labels = []): self
    {
        $query = new self;
        $query->clauses = $this->clauses->add(
            new Clause\MatchClause(
                Clause\Expression\Path::startWithNode($variable, $labels)
            )
        );

        return $query;
    }
public function match ( string $ variable = null , array $ labels = [ ] ) : self { $ query = new self ; $ query -> clauses = $ this -> clauses -> add ( new Clause \ MatchClause ( Clause \ Expression \ Path :: startWithNode ( $ variable , $ labels ) ) ) ; return $ query ; }
Match the given node

@param string $variable
@param array $labels

@return self
Match the given node