# wordpress-seo/27.7/src/ai/consent/application/consent-endpoints-repository.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/27.7/code/src/ai/consent/application/consent-endpoints-repository.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/27.7/raw/src/ai/consent/application/consent-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/27.7/code/src/ai/consent/application/consent-endpoints-repository.php#L10-L20`.

```php
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\AI\Consent\Application;

use Yoast\WP\SEO\AI\Consent\Infrastructure\Endpoints\Consent_Endpoint_Interface;
use Yoast\WP\SEO\Routes\Endpoint\Endpoints_Repository;

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

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

```
