Automattic\WooCommerce\Blocks\Domain\Services

CheckoutFieldsFrontend::__construct()publicWC 1.0

Sets up core fields.

Method of the class: CheckoutFieldsFrontend{}

No Hooks.

Return

null. Nothing (null).

Usage

$CheckoutFieldsFrontend = new CheckoutFieldsFrontend();
$CheckoutFieldsFrontend->__construct( $checkout_fields_controller );
$checkout_fields_controller(CheckoutFields) (required)
Instance of the checkout field controller.

CheckoutFieldsFrontend::__construct() code WC 9.1.2

public function __construct( CheckoutFields $checkout_fields_controller ) {
	$this->checkout_fields_controller = $checkout_fields_controller;
}