Skip to content

Commit cc0104c

Browse files
authored
Way to set type
#186 no way to set type unless workaround
1 parent e714c5e commit cc0104c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/SphinxQL.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,15 @@ public function __construct(ConnectionInterface $connection = null)
223223
{
224224
$this->connection = $connection;
225225
}
226+
227+
/**
228+
* Sets Query Type
229+
*
230+
*/
231+
public function setType(string $type)
232+
{
233+
return $this->type = $type;
234+
}
226235

227236
/**
228237
* Returns the currently attached connection

0 commit comments

Comments
 (0)