You are here

public function ProductBundleStockProxy::__construct in Commerce Product Bundle 8

Constructs a new ProductBundleStockProxy object.

Parameters

\Drupal\commerce_stock\StockServiceManagerInterface $stock_service_manager: The stock service manager.

File

modules/commerce_product_bundle_stock/src/ProductBundleStockProxy.php, line 29

Class

ProductBundleStockProxy
Provides a stock service for product bundles.

Namespace

Drupal\commerce_product_bundle_stock

Code

public function __construct(StockServiceManagerInterface $stock_service_manager) {
  $this->stockServiceManager = $stock_service_manager;
}