Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
PartKeepr
StockBundle
Entity
StockEntry
__construct
PartKeepr\StockBundle\Entity\StockEntry::__construct PHP Method
StockEntry Class Documentation
Mostra file
Open project: partkeepr/PartKeepr
__construct()
public
method
Creates a new stock entry. A stock entry tracks how many parts were the stockLevel is the amount of items added/removed, by which user and how much the user paid for it (for adding parts only!).
public
__construct
( )
public function __construct() { $this->setDateTime(new \DateTime()); $this->setCorrection(false); }
StockEntry
__construct
checkPrice
getComment
getCorrection
getDateTime
getPart
getPrice
getStockLevel
getUser
isRemoval
setComment
setCorrection
setDateTime
setPart
setPrice
setStockLevel
setUser