public function create(
        string $variable,
        array $labels = [],
        bool $unique = false
    ): self {
        $query = new self;
        $query->clauses = $this->clauses->add(
            new Clause\CreateClause(
                Clause\Expression\Path::startWithNode($variable, $labels),
                $unique
            )
        );

        return $query;
    }
public function create(
        string $variable,
        array $labels = [],
        bool $unique = false
    ): self {
        $query = new self;
        $query->clauses = $this->clauses->add(
            new Clause\CreateClause(
                Clause\Expression\Path::startWithNode($variable, $labels),
                $unique
            )
        );

        return $query;
    }
public function create ( string $ variable , array $ labels = [ ] , bool $ unique = false ) : self { $ query = new self ; $ query -> clauses = $ this -> clauses -> add ( new Clause \ CreateClause ( Clause \ Expression \ Path :: startWithNode ( $ variable , $ labels ) , $ unique ) ) ; return $ query ; }
Add a CREATE clause

@param string $variable
@param array $labels
@param bool $unique

@return self
Add a CREATE clause