query = $query; $this->parts = array_unique(array_filter(explode(" ", strtolower($query)))); } public function getQuery(): string { return $this->query; } }