stringUtils = $stringUtils; } public function setQueryText(string $queryText): void { $this->queryText = $this->stringUtils->cleanString($queryText); } public function getQueryText(): ?string { return $this->queryText; } public function getQueryParamName(): string { return static::QUERY_VAR_NAME; } }