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
getAttribute
LukePOLO\LaraCart\Contracts\LaraCartContract::getAttribute PHP Method
LaraCartContract Interface Documentation
Mostra file
Open project: lukepolo/laracart
getAttribute()
public
method
Gets an an attribute from the cart.
public
getAttribute
(
$attribute
,
$defaultValue
= null ) :
mixed
$attribute
$defaultValue
return
mixed
public function getAttribute($attribute, $defaultValue = null);
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