Eccube\Entity\Product::getStockMin PHP Method

getStockMin() public method

Get Stock min
public getStockMin ( ) : integer
return integer
    public function getStockMin()
    {
        $this->_calc();
        return min($this->stocks);
    }

Usage Example

コード例 #1
0
 /**
  * {@inheritDoc}
  */
 public function getStockMin()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStockMin', array());
     return parent::getStockMin();
 }