Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostToOrderAddressTableMigrator::__construct()publicWC 1.0

PostToOrderAddressTableMigrator constructor.

Method of the class: PostToOrderAddressTableMigrator{}

No Hooks.

Return

null. Nothing (null).

Usage

$PostToOrderAddressTableMigrator = new PostToOrderAddressTableMigrator();
$PostToOrderAddressTableMigrator->__construct( $type );
$type(string) (required)
Type of address being migrated; 'billing' or 'shipping'.

PostToOrderAddressTableMigrator::__construct() code WC 8.7.0

public function __construct( $type ) {
	$this->type = $type;
	parent::__construct();
}