Automattic\WooCommerce\StoreApi\Schemas\V1

AbstractAddressSchema::__construct()publicWC 1.0

Constructor.

Method of the class: AbstractAddressSchema{}

No Hooks.

Return

null. Nothing (null).

Usage

$AbstractAddressSchema = new AbstractAddressSchema();
$AbstractAddressSchema->__construct( $extend, $controller );
$extend(ExtendSchema) (required)
ExtendSchema instance.
$controller(SchemaController) (required)
Schema Controller instance.

AbstractAddressSchema::__construct() code WC 9.3.1

public function __construct( ExtendSchema $extend, SchemaController $controller ) {
	parent::__construct( $extend, $controller );
	$this->additional_fields_controller = Package::container()->get( CheckoutFields::class );
}