public function prepareBindings(array $options) { if (!$options) { return []; } if (isset($options['HAVING'])) { $where = new Where($options['HAVING']); $this->bound = array_merge($this->bound, $where->getBindings()); $options['HAVING'] = $where; } return $options; }