Yoast\WP\SEO\Routes\Endpoint
Endpoints_Repository::__construct
Constructs the repository.
Метод класса: Endpoints_Repository{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Endpoints_Repository = new Endpoints_Repository(); $Endpoints_Repository->__construct( Endpoint_Interface ...$endpoints );
- Endpoint_Interface ...$endpoints(обязательный)
- .
Код Endpoints_Repository::__construct() Endpoints Repository:: construct Yoast 28.9
public function __construct( Endpoint_Interface ...$endpoints ) {
$this->endpoints = $endpoints;
}