PartKeepr\StockBundle\Entity\StockEntry::isRemoval PHP Method

isRemoval() public method

Returns if the current stock entry is a removal.
public isRemoval ( ) : boolean
return boolean True if the entry is a removal, false otherwise
    public function isRemoval()
    {
        if ($this->getStockLevel() < 0) {
            return true;
        } else {
            return false;
        }
    }