| 1 |
<?php |
| 2 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. |
| 3 |
namespace Yoast\WP\SEO\MyYoast_Client\Application; |
| 4 |
|
| 5 |
use Yoast\WP\SEO\MyYoast_Client\Infrastructure\Endpoints\Management_Endpoint_Interface; |
| 6 |
use Yoast\WP\SEO\Routes\Endpoint\Endpoints_Repository; |
| 7 |
|
| 8 |
/** |
| 9 |
* Repository for the MyYoast management endpoints. |
| 10 |
*/ |
| 11 |
class Management_Endpoints_Repository extends Endpoints_Repository { |
| 12 |
|
| 13 |
/** |
| 14 |
* Constructs the repository. |
| 15 |
* |
| 16 |
* @param Management_Endpoint_Interface ...$endpoints The endpoints to add to the repository. |
| 17 |
*/ |
| 18 |
public function __construct( Management_Endpoint_Interface ...$endpoints ) { |
| 19 |
parent::__construct( ...$endpoints ); |
| 20 |
} |
| 21 |
} |
| 22 |
|