# wordpress-seo/trunk/src/dashboard/application/endpoints/endpoints-repository.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/dashboard/application/endpoints/endpoints-repository.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/dashboard/application/endpoints/endpoints-repository.php
- Modified: 2026-03-31T11:40:40+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/trunk/code/src/dashboard/application/endpoints/endpoints-repository.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Dashboard\Application\Endpoints;

use Yoast\WP\SEO\Dashboard\Infrastructure\Endpoints\Dashboard_Endpoint_Interface;
use Yoast\WP\SEO\Routes\Endpoint\Endpoints_Repository as Base_Endpoints_Repository;

/**
 * Repository for endpoints.
 */
class Endpoints_Repository extends Base_Endpoints_Repository {

	/**
	 * Constructs the repository.
	 *
	 * @param Dashboard_Endpoint_Interface ...$endpoints The endpoints to add to the repository.
	 */
	public function __construct( Dashboard_Endpoint_Interface ...$endpoints ) {
		parent::__construct( ...$endpoints );
	}
}

```
