Automattic\WooCommerce\DataBase\Migrations\CustomOrderTable
CLIRunner::init()
Init method, invoked by DI container.
Method of the class: CLIRunner{}
No Hooks.
Return
null
. Nothing (null).
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() CLIRunner::init code WC 8.6.1
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; }