Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sonata
Component
Product
AddBasket
setQuantity
Sonata\Component\Product\AddBasket::setQuantity PHP Method
AddBasket Class Documentation
Show file
Open project: sonata-project/ecommerce
setQuantity()
public
method
Set the quantity.
public
setQuantity
(
integer
$quantity
)
$quantity
integer
public function setQuantity($quantity) { $this->quantity = $quantity; }
AddBasket
getProductId
getQuantity
setProduct
setProductId
setQuantity