You are here

public function StockServiceManager::listServices in Commerce Stock 8

Returns an array of all registered stock services.

Return value

\Drupal\commerce_stock\StockServiceInterface[] All registered stock services keyed by service ID.

Overrides StockServiceManagerInterface::listServices

File

src/StockServiceManager.php, line 96

Class

StockServiceManager
The stock service manager.

Namespace

Drupal\commerce_stock

Code

public function listServices() {
  return $this->stockServices;
}