Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

RestockRefundedItemsAdjusterServiceProvider{}WC 1.0

Service provider for the RestockRefundedItemsAdjuster class.

Хуков нет.

Использование

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

Методы

  1. public register()

Код RestockRefundedItemsAdjusterServiceProvider{} WC 9.4.2

class RestockRefundedItemsAdjusterServiceProvider extends AbstractServiceProvider {

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

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