You are here

public function StockServiceManagerInterface::addService in Commerce Stock 8

Adds a Stock service.

Parameters

\Drupal\commerce_stock\StockServiceInterface $stock_service: The stock service.

1 method overrides StockServiceManagerInterface::addService()
StockServiceManager::addService in src/StockServiceManager.php
Adds a Stock service.

File

src/StockServiceManagerInterface.php, line 18

Class

StockServiceManagerInterface
The stock service manager interface.

Namespace

Drupal\commerce_stock

Code

public function addService(StockServiceInterface $stock_service);