Automattic\WooCommerce\Internal\StockNotifications\Utilities

EligibilityService::init │ public │ WC 1.0

Init.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$EligibilityService = new EligibilityService();
$EligibilityService->init( $stock_management_helper ): void;
$stock_management_helper(StockManagementHelper) (обязательный)
The stock management helper instance.

Код EligibilityService::init() WC 11.2.2

final public function init( StockManagementHelper $stock_management_helper ): void {
	$this->stock_management_helper = $stock_management_helper;
}