You are here

public function AlwaysInStockService::getStockChecker in Commerce Stock 8

Gets the stock checker.

Return value

\Drupal\commerce_stock\StockCheckInterface The stock checker.

Overrides StockServiceInterface::getStockChecker

File

src/AlwaysInStockService.php, line 57

Class

AlwaysInStockService
A stock service for always in stock products.

Namespace

Drupal\commerce_stock

Code

public function getStockChecker() {
  return $this->stockChecker;
}