Automattic\WooCommerce\Internal\Admin\Settings

PaymentsController::init()publicWC 1.0

Initialize the class instance.

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

Хуков нет.

Возвращает

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

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

$PaymentsController = new PaymentsController();
$PaymentsController->init( $payments ): void;
$payments(Payments) (обязательный)
The payments service.

Код PaymentsController::init() WC 9.6.1

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