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
:
LoggingServiceProvider.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders; use Automattic\WooCommerce\Internal\Admin\Logging\{ PageController, Settings }; use Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController; use Automattic\WooCommerce\Internal\DependencyManagement\AbstractServiceProvider; /** * LoggingServiceProvider class. */ class LoggingServiceProvider extends AbstractServiceProvider { /** * List services provided by this class. * * @var string[] */ protected $provides = array( FileController::class, PageController::class, Settings::class, ); /** * Registers services provided by this class. * * @return void */ public function register() { $this->share( FileController::class ); $this->share( PageController::class )->addArguments( array( FileController::class, Settings::class, ) ); $this->share( Settings::class ); } }