Automattic\WooCommerce\Internal\PushNotifications\Controllers

StepLogRestController::init │ public │ WC 11.3.0

Initialize injected dependencies.

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

Хуков нет.

Возвращает

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

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

$StepLogRestController = new StepLogRestController();
$StepLogRestController->init( $query ): void;
$query(StepLogQuery) (обязательный)
The step log query service.

Список изменений

С версии 11.3.0 Введена.

Код StepLogRestController::init() WC 11.3.0

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