Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Dumplie
Customer
Application
Command
AddToCart
PHP Class Dumplie\Customer\Application\Command\AddToCart
Inheritance:
implements
Dumplie\SharedKernel\Application\Command\Command
,
use trait
Dumplie\SharedKernel\Application\Command\CommandSerialize
显示文件
Open project: dumplie/dumplie
Class Usage Examples
Public Methods
Method
Description
__construct
(
string
$sku
,
integer
$quantity
,
string
$cartId
)
cartId
( ) :
string
quantity
( ) :
integer
sku
( ) :
string
Method Details
__construct()
public
method
public
__construct
(
string
$sku
,
integer
$quantity
,
string
$cartId
)
$sku
string
$quantity
integer
$cartId
string
cartId()
public
method
public
cartId
( ) :
string
return
string
quantity()
public
method
public
quantity
( ) :
integer
return
integer
sku()
public
method
public
sku
( ) :
string
return
string