Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

LoggingServiceProvider::register()publicWC 1.0

Registers services provided by this class.

Метод класса: LoggingServiceProvider{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$LoggingServiceProvider = new LoggingServiceProvider();
$LoggingServiceProvider->register();

Код LoggingServiceProvider::register() WC 9.6.1

public function register() {
	$this->share( FileController::class );

	$this->share( PageController::class )->addArguments(
		array(
			FileController::class,
			Settings::class,
		)
	);

	$this->share( Settings::class );

	$this->share( RemoteLogger::class );
}