Skip to content

Commit 25c61b2

Browse files
committed
Added Engine::setType method
1 parent 5f2531a commit 25c61b2

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/Engine.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,14 @@ public function setReplicaName(string $replicaName): Engine
8181
$this->replicaName = $replicaName;
8282
return $this;
8383
}
84+
85+
/**
86+
* @param string $type Engine::REPLACING_MERGE_TREE for example
87+
* @return $this
88+
*/
89+
public function setType(string $type): Engine
90+
{
91+
$this->type = $type;
92+
return $this;
93+
}
8494
}

0 commit comments

Comments
 (0)