andWhere($dqlId.'.merchant = :merchant'); $this->setParameter('merchant', $merchant); return $this; } public function andWhereSection($dqlId, $section):self { $this->andWhere($dqlId.'.section = :section'); $this->setParameter('section', $section); return $this; } }