public function modify(QueryBuilder $query, $dqlAlias) { if ($this->child instanceof QueryModifier) { $this->child->modify($query, $dqlAlias); } }