Automattic\WooCommerce\DataBase\Migrations\CustomOrderTable

CLIRunner::init()publicWC 1.0

Init method, invoked by DI container.

Method of the class: CLIRunner{}

No Hooks.

Return

null. Nothing.

Usage

$CLIRunner = new CLIRunner();
$CLIRunner->init( $controller, $synchronizer, $posts_to_orders_migration_controller );
$controller(CustomOrdersTableController) (required)
Instance.
$synchronizer(DataSynchronizer) (required)
Instance.
$posts_to_orders_migration_controller(PostsToOrdersMigrationController) (required)
Instance.

CLIRunner::init() code WC 7.1.0

final public function init( CustomOrdersTableController $controller, DataSynchronizer $synchronizer, PostsToOrdersMigrationController $posts_to_orders_migration_controller ) {
	$this->controller           = $controller;
	$this->synchronizer         = $synchronizer;
	$this->post_to_cot_migrator = $posts_to_orders_migration_controller;
}