WordPress at a glance
class is not described

Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

DownloadPermissionsAdjusterServiceProvider{} WC 1.0

Service provider for the DownloadPermissionsAdjuster class.

No Hooks.

Return

null. Nothing.

Usage

$DownloadPermissionsAdjusterServiceProvider = new DownloadPermissionsAdjusterServiceProvider();
// use class methods

Methods

  1. register()

Code of DownloadPermissionsAdjusterServiceProvider{} WC 5.3.0

<?php
class DownloadPermissionsAdjusterServiceProvider extends AbstractServiceProvider {

	/**
	 * The classes/interfaces that are serviced by this service provider.
	 *
	 * @var array
	 */
	protected $provides = array(
		DownloadPermissionsAdjuster::class,
	);

	/**
	 * Register the classes.
	 */
	public function register() {
		$this->share( DownloadPermissionsAdjuster::class );
	}
}