Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
test
/
wp-content
/
plugins
/
woocommerce
/
src
/
Internal
/
DependencyManagement
/
ServiceProviders
:
OrderAdminServiceProvider.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * Service provider for various order admin classes. */ namespace Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders; use Automattic\WooCommerce\Internal\Admin\Orders\COTRedirectionController; use Automattic\WooCommerce\Internal\Admin\Orders\Edit; use Automattic\WooCommerce\Internal\Admin\Orders\EditLock; use Automattic\WooCommerce\Internal\Admin\Orders\ListTable; use Automattic\WooCommerce\Internal\Admin\Orders\MetaBoxes\TaxonomiesMetaBox; use Automattic\WooCommerce\Internal\Admin\Orders\PageController; use Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore; use Automattic\WooCommerce\Internal\DependencyManagement\AbstractServiceProvider; /** * OrderAdminServiceProvider class. */ class OrderAdminServiceProvider extends AbstractServiceProvider { /** * List services provided by this class. * * @var string[] */ protected $provides = array( COTRedirectionController::class, PageController::class, Edit::class, ListTable::class, EditLock::class, TaxonomiesMetaBox::class, ); /** * Registers services provided by this class. * * @return void */ public function register() { $this->share( COTRedirectionController::class ); $this->share( PageController::class ); $this->share( Edit::class )->addArgument( PageController::class ); $this->share( ListTable::class )->addArgument( PageController::class ); $this->share( EditLock::class ); $this->share( TaxonomiesMetaBox::class )->addArgument( OrdersTableDataStore::class ); } }