protected function _endChildSubQuery($tool, array $subQuery, $bool, array $params = []) {
        $this->addBool([$tool => $subQuery], $bool, true, $params);
        return $this;
    }
protected function _endChildSubQuery($tool, array $subQuery, $bool, array $params = []) {
        $this->addBool([$tool => $subQuery], $bool, true, $params);
        return $this;
    }
protected function _endChildSubQuery ( $ tool , array $ subQuery , $ bool , array $ params = [ ] ) { $ this -> addBool ( [ $ tool => $ subQuery ] , $ bool , true , $ params ) ; return $ this ; }
Receives the end signal from the sub query object

@param string $tool [and|or]
@param array $subQuery
@param type $bool
@param array $params
@return QueryBuilder|static|self
Receives the end signal from the sub query object