WPSEO_Endpoint_File_Size::__construct()publicYoast 1.0

Sets the service provider.

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

Хуков нет.

Возвращает

null. Ничего (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 24.0

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