HEX
Server: LiteSpeed
System: Linux server902.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: deshuvsd (2181)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/deshuvsd/www/wp-content/plugins/woocommerce-payments/src/wcpay-get-container.php
<?php
/**
 * WCPay container loader
 *
 * @package WooCommerce\Payments
 */

use WCPay\Container;

/**
 * Returns the WCPay DI container.
 *
 * @return Container
 */
function wcpay_get_container() {
	if ( ! isset( $GLOBALS['wcpay_container'] ) ) {
		$GLOBALS['wcpay_container'] = new Container();
	}

	return $GLOBALS['wcpay_container'];
}