Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
COTMigrationServiceProvider::register()
Use the register method to register items with the container via the protected $this->leagueContainer property or the getLeagueContainer method from the ContainerAwareTrait.
Method of the class: COTMigrationServiceProvider{}
No Hooks.
Return
null
. Nothing (null).
Usage
$COTMigrationServiceProvider = new COTMigrationServiceProvider(); $COTMigrationServiceProvider->register();
COTMigrationServiceProvider::register() COTMigrationServiceProvider::register code WC 8.7.0
public function register() { $this->share( PostsToOrdersMigrationController::class ); $this->share( CLIRunner::class ); }