/** * @return InsertOrUpdateQuery **/ public function setBoolean($field, $value = false) { try { Assert::isTernaryBase($value); $this->set($field, $value); } catch (WrongArgumentException $e) { /*_*/ } return $this; }
/** * @return Ternary **/ public function setValue($boolean = null) { Assert::isTernaryBase($boolean); $this->trinity = $boolean; return $this; }
public function importValue($value) { Assert::isTernaryBase($value, 'only ternary based accepted'); $this->value = $value; return $this->imported = true; }
/** * @return PrimitiveArray **/ public function setFetchMode($ternary) { Assert::isTernaryBase($ternary); $this->fetchMode = $ternary; return $this; }