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