public function __construct(QueryTypeRegistry $queryTypeRegistry) { $this->queryTypeRegistry = $queryTypeRegistry; }