WPSEO_Endpoint_Statistics::__construct()publicYoast 1.0

Constructs the WPSEO_Endpoint_Statistics class and sets the service to use.

Метод класса: WPSEO_Endpoint_Statistics{}

Хуков нет.

Возвращает

null. Ничего.

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

$WPSEO_Endpoint_Statistics = new WPSEO_Endpoint_Statistics();
$WPSEO_Endpoint_Statistics->__construct( $service );
$service(WPSEO_Statistics_Service) (обязательный)
Service to use.

Код WPSEO_Endpoint_Statistics::__construct() Yoast 19.11

public function __construct( WPSEO_Statistics_Service $service ) {
	$this->service = $service;
}