Automattic\WooCommerce\Internal\Admin\Settings
PaymentsRestController::init
Initialize the class instance.
Method of the class: PaymentsRestController{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$PaymentsRestController = new PaymentsRestController(); $PaymentsRestController->init( $payments ): void;
- $payments(Payments) (required)
- The payments settings page service.
PaymentsRestController::init() PaymentsRestController::init code WC 9.9.3
final public function init( Payments $payments ): void { $this->payments = $payments; }