/** * Returns the parent object * Allows for conditional statements in a fluid interface. * * @return \SQL\Proxy\QueryConditionalProxy|\SQL\Base\QueryBuilder */ public function _endif() { return $this->query->_endif(); }
/** * @expectedException SQL\Exception\QueryBuilderException */ public function testEndIfAlone() { $this->queryBuilder->_endif(true); }