Server IP : 172.67.158.161 / Your IP : 3.12.152.194 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 : /home/giankuin/khowordpress.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/ServiceProviders/ |
Upload File : |
<?php /** * UtilsClassesServiceProvider class file. */ namespace Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders; use Automattic\WooCommerce\Internal\ReceiptRendering\ReceiptRenderingEngine; use Automattic\WooCommerce\Internal\ReceiptRendering\ReceiptRenderingRestController; use Automattic\WooCommerce\Proxies\LegacyProxy; use Automattic\WooCommerce\Internal\TransientFiles\TransientFilesEngine; /** * Service provider for the engine classes in the Automattic\WooCommerce\src namespace. */ class EnginesServiceProvider extends AbstractInterfaceServiceProvider { /** * The classes/interfaces that are serviced by this service provider. * * @var array */ protected $provides = array( TransientFilesEngine::class, ReceiptRenderingEngine::class, ReceiptRenderingRestController::class, ); /** * Register the classes. */ public function register() { $this->share_with_implements_tags( TransientFilesEngine::class )->addArgument( LegacyProxy::class ); $this->share( ReceiptRenderingEngine::class )->addArguments( array( TransientFilesEngine::class, LegacyProxy::class ) ); $this->share_with_implements_tags( ReceiptRenderingRestController::class ); } }