Yoast\WP\SEO\Task_List\Application\Endpoints

Endpoints_Repository{}Yoast 1.0└─ Base_Endpoints_Repository

Repository for endpoints.

Хуков нет.

Использование

$Endpoints_Repository = new Endpoints_Repository();
// use class methods

Методы

  1. public __construct( Task_List_Endpoint_Interface ...$endpoints )
  2. ERROR: no method name found on line `}`
  3. ERROR: no method name found on line ``

Код Endpoints_Repository{} Yoast 27.7

class Endpoints_Repository extends Base_Endpoints_Repository {

	/**
	 * Constructs the repository.
	 *
	 * @param Task_List_Endpoint_Interface ...$endpoints The endpoints to add to the repository.
	 */
	public function __construct( Task_List_Endpoint_Interface ...$endpoints ) {
		parent::__construct( ...$endpoints );
	}
}