WPSEO_Endpoint_File_Size::__construct()publicYoast 1.0

Sets the service provider.

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

Хуков нет.

Возвращает

null. Ничего.

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

$WPSEO_Endpoint_File_Size = new WPSEO_Endpoint_File_Size();
$WPSEO_Endpoint_File_Size->__construct( $service );
$service(WPSEO_File_Size_Service) (обязательный)
The service provider.

Код WPSEO_Endpoint_File_Size::__construct() Yoast 19.11

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