Server IP : 104.21.14.103 / Your IP : 18.218.11.211 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/proc/thread-self/root/home/giankuin/thietke365.net/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/ServiceProviders/ |
Upload File : |
<?php /** * UtilsClassesServiceProvider class file. */ namespace Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders; use Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController; use Automattic\WooCommerce\Internal\DataStores\Orders\DataSynchronizer; use Automattic\WooCommerce\Internal\DependencyManagement\AbstractServiceProvider; use Automattic\WooCommerce\Internal\Utilities\COTMigrationUtil; use Automattic\WooCommerce\Internal\Utilities\DatabaseUtil; use Automattic\WooCommerce\Internal\Utilities\HtmlSanitizer; use Automattic\WooCommerce\Internal\Utilities\WebhookUtil; use Automattic\WooCommerce\Proxies\LegacyProxy; use Automattic\WooCommerce\Utilities\PluginUtil; use Automattic\WooCommerce\Utilities\OrderUtil; /** * Service provider for the non-static utils classes in the Automattic\WooCommerce\src namespace. */ class UtilsClassesServiceProvider extends AbstractServiceProvider { /** * The classes/interfaces that are serviced by this service provider. * * @var array */ protected $provides = array( DatabaseUtil::class, HtmlSanitizer::class, OrderUtil::class, PluginUtil::class, COTMigrationUtil::class, WebhookUtil::class, ); /** * Register the classes. */ public function register() { $this->share( DatabaseUtil::class ); $this->share( HtmlSanitizer::class ); $this->share( OrderUtil::class ); $this->share( PluginUtil::class ) ->addArgument( LegacyProxy::class ); $this->share( COTMigrationUtil::class ) ->addArguments( array( CustomOrdersTableController::class, DataSynchronizer::class ) ); $this->share( WebhookUtil::class ); } }