Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
COTMigrationServiceProvider{}
Class COTMigrationServiceProvider
Хуков нет.
Использование
$COTMigrationServiceProvider = new COTMigrationServiceProvider(); // use class methods
Методы
- public register()
Заметки
- Пакет: Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
Код COTMigrationServiceProvider{} COTMigrationServiceProvider{} WC 7.3.0
class COTMigrationServiceProvider extends AbstractServiceProvider { /** * Services provided by this provider. * * @var string[] */ protected $provides = array( PostsToOrdersMigrationController::class, CLIRunner::class, DataSynchronizer::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 ); } }