Automattic\WooCommerce\Internal\Orders

OrderAttributionBlocksController::initpublicWC 1.0

Bind dependencies on init.

Method of the class: OrderAttributionBlocksController{}

No Hooks.

Returns

null. Nothing (null).

Usage

$OrderAttributionBlocksController = new OrderAttributionBlocksController();
$OrderAttributionBlocksController->init( $extend_schema, $features_controller, $order_attribution_controller );
$extend_schema(ExtendSchema) (required)
ExtendSchema instance.
$features_controller(FeaturesController) (required)
Features controller.
$order_attribution_controller(OrderAttributionController) (required)
Instance of the order attribution controller.

OrderAttributionBlocksController::init() code WC 10.5.0

final public function init(
	ExtendSchema $extend_schema,
	FeaturesController $features_controller,
	OrderAttributionController $order_attribution_controller
) {
	$this->extend_schema                = $extend_schema;
	$this->features_controller          = $features_controller;
	$this->order_attribution_controller = $order_attribution_controller;
}