public function AlwaysInStockService::__construct in Commerce Stock 8
Constructs a new AlwaysInStockService object.
File
- src/
AlwaysInStockService.php, line 34
Class
- AlwaysInStockService
- A stock service for always in stock products.
Namespace
Drupal\commerce_stockCode
public function __construct() {
$this->stockChecker = new AlwaysInStock();
$this->stockUpdater = $this->stockChecker;
$this->stockServiceConfig = new StockServiceConfig();
}