getFilter('term')?->get() ?? ''; } public function getFilter(string $name): ?IFilter { return $this->filters->has($name) ? $this->filters->get($name) : null; } public function getFilters(): IFilterCollection { return $this->filters; } public function getSortOrder(): int { return $this->sortOrder; } public function getLimit(): int { return $this->limit; } public function getCursor(): int|string|null { return $this->cursor; } public function getRoute(): string { return $this->route; } public function getRouteParameters(): array { return $this->routeParameters; } }