| 1 |
<?php |
| 2 |
|
| 3 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. |
| 4 |
namespace Yoast\WP\SEO\AI_Consent\Domain\Endpoint; |
| 5 |
|
| 6 |
interface Endpoint_Interface { |
| 7 |
|
| 8 |
/** |
| 9 |
* Gets the name. |
| 10 |
* |
| 11 |
* @return string |
| 12 |
*/ |
| 13 |
public function get_name(): string; |
| 14 |
|
| 15 |
/** |
| 16 |
* Gets the namespace. |
| 17 |
* |
| 18 |
* @return string |
| 19 |
*/ |
| 20 |
public function get_namespace(): string; |
| 21 |
|
| 22 |
/** |
| 23 |
* Gets the route. |
| 24 |
* |
| 25 |
* @return string |
| 26 |
*/ |
| 27 |
public function get_route(): string; |
| 28 |
|
| 29 |
/** |
| 30 |
* Gets the URL. |
| 31 |
* |
| 32 |
* @return string |
| 33 |
*/ |
| 34 |
public function get_url(): string; |
| 35 |
} |
| 36 |
|