| 1 |
<?php |
| 2 |
/** |
| 3 |
* Our API handler interface. |
| 4 |
* |
| 5 |
* @package ForceRefresh |
| 6 |
*/ |
| 7 |
|
| 8 |
namespace JordanLeven\Plugins\ForceRefresh\Api\Interfaces; |
| 9 |
|
| 10 |
interface Api_Handler_Interface { |
| 11 |
|
| 12 |
/** |
| 13 |
* Method for |
| 14 |
* |
| 15 |
* @param string $route The endpoint route. |
| 16 |
* @param int $version The endpoint version. |
| 17 |
* |
| 18 |
* @return string The formatted ReST endpoint. |
| 19 |
*/ |
| 20 |
public static function get_formatted_rest_endpoint( string $route, int $version ): string; |
| 21 |
} |
| 22 |
|