# wordpress-seo/28.6/src/llms-txt/domain/available-posts/data-provider/parameters.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 28.6. 55 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.6/code/src/llms-txt/domain/available-posts/data-provider/parameters.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.6/raw/src/llms-txt/domain/available-posts/data-provider/parameters.php
- Modified: 2026-01-20T12:23:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/28.6/code/src/llms-txt/domain/available-posts/data-provider/parameters.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
// phpcs:disable Yoast.NamingConventions.NamespaceName.MaxExceeded -- Needed in the folder structure.
namespace Yoast\WP\SEO\Llms_Txt\Domain\Available_Posts\Data_Provider;

/**
 * Object representation of the request parameters.
 */
class Parameters {

	/**
	 * The post type.
	 *
	 * @var string
	 */
	private $post_type;

	/**
	 * The search filter.
	 *
	 * @var string
	 */
	private $search_filter;

	/**
	 * Class constructor.
	 *
	 * @param string $post_type     The post type.
	 * @param string $search_filter The search filter.
	 */
	public function __construct( string $post_type, string $search_filter ) {
		$this->post_type     = $post_type;
		$this->search_filter = $search_filter;
	}

	/**
	 * Getter for the post type.
	 *
	 * @return string
	 */
	public function get_post_type(): string {
		return $this->post_type;
	}

	/**
	 * Getter for the search filter.
	 *
	 * @return string
	 */
	public function get_search_filter(): string {
		return $this->search_filter;
	}
}

```
