public function setArrayResult($arrayresult) { $this->arrayresult = (bool) $arrayresult; return $this; }
public function testSetArrayResult() { $sphinx = new SphinxClient(); $sphinx->setArrayResult(true); $this->assertTrue($sphinx->arrayresult); }