endpoint-interface.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 27.8, at src/routes/endpoint/endpoint-interface.php
| 1 | <?php |
| 2 | |
| 3 | namespace Yoast\WP\SEO\Routes\Endpoint; |
| 4 | |
| 5 | interface Endpoint_Interface { |
| 6 | |
| 7 | /** |
| 8 | * Gets the name. |
| 9 | * |
| 10 | * @return string |
| 11 | */ |
| 12 | public function get_name(): string; |
| 13 | |
| 14 | /** |
| 15 | * Gets the namespace. |
| 16 | * |
| 17 | * @return string |
| 18 | */ |
| 19 | public function get_namespace(): string; |
| 20 | |
| 21 | /** |
| 22 | * Gets the route. |
| 23 | * |
| 24 | * @return string |
| 25 | */ |
| 26 | public function get_route(): string; |
| 27 | |
| 28 | /** |
| 29 | * Gets the URL. |
| 30 | * |
| 31 | * @return string |
| 32 | */ |
| 33 | public function get_url(): string; |
| 34 | } |
| 35 |