Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Stock.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
12 use Magento\Framework\Model\ResourceModel\PredefinedId;
13 
17 class Stock extends AbstractDb
18 {
22  use PredefinedId;
23 
27  const TABLE_NAME_STOCK = 'inventory_stock';
33  protected function _construct()
34  {
35  $this->_init(self::TABLE_NAME_STOCK, StockInterface::STOCK_ID);
36  }
37 }