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
LukePOLO
LaraCart
Contracts
LaraCartContract
setAttribute
LukePOLO\LaraCart\Contracts\LaraCartContract::setAttribute PHP Method
LaraCartContract Interface Documentation
Mostra file
Open project: lukepolo/laracart
setAttribute()
public
method
Adds an Attribute to the cart.
public
setAttribute
(
$attribute
,
$value
)
$attribute
$value
public function setAttribute($attribute, $value);
LaraCartContract
add
addCoupon
addFee
addItem
addLine
count
destroyCart
emptyCart
feeTotals
findCoupon
formatMoney
get
getAttribute
getAttributes
getCoupons
getFee
getFees
getItem
getItems
removeAttribute
removeCoupon
removeFee
removeItem
setAttribute
setInstance
subTotal
taxTotal
total
totalDiscount
update
updateItem