Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
COTMigrationServiceProvider{}
Class COTMigrationServiceProvider
No Hooks.
Usage
$COTMigrationServiceProvider = new COTMigrationServiceProvider(); // use class methods
Methods
- public register()
Notes
- Package: Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
COTMigrationServiceProvider{} COTMigrationServiceProvider{} code WC 9.6.1
class COTMigrationServiceProvider extends AbstractServiceProvider { /** * Services provided by this provider. * * @var string[] */ protected $provides = array( PostsToOrdersMigrationController::class, CLIRunner::class, ); /** * Use the register method to register items with the container via the * protected $this->leagueContainer property or the `getLeagueContainer` method * from the ContainerAwareTrait. * * @return void */ public function register() { $this->share( PostsToOrdersMigrationController::class ); $this->share( CLIRunner::class ); } }