/** * {@inheritdoc} */ protected function doConvert(AbstractQueryDesigner $source) { $this->filters = []; $this->currentFilterPath = ''; parent::doConvert($source); $this->filters = null; $this->currentFilterPath = null; }
/** * {@inheritdoc} */ protected function addWhereStatement() { parent::addWhereStatement(); if (!empty($this->filters)) { $this->config->offsetSetByPath('[source][query_config][filters]', $this->filters); } }