# wordpress-seo/28.0/src/ai-generator/domain/endpoint/endpoint-interface.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.0/code/src/ai-generator/domain/endpoint/endpoint-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.0/raw/src/ai-generator/domain/endpoint/endpoint-interface.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.0/code/src/ai-generator/domain/endpoint/endpoint-interface.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\AI_Generator\Domain\Endpoint;

interface Endpoint_Interface {

	/**
	 * Gets the name.
	 *
	 * @return string
	 */
	public function get_name(): string;

	/**
	 * Gets the namespace.
	 *
	 * @return string
	 */
	public function get_namespace(): string;

	/**
	 * Gets the route.
	 *
	 * @return string
	 */
	public function get_route(): string;

	/**
	 * Gets the URL.
	 *
	 * @return string
	 */
	public function get_url(): string;
}

```
