Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
LukePOLO
LaraCart
Contracts
LaraCartContract
total
LukePOLO\LaraCart\Contracts\LaraCartContract::total PHP Method
LaraCartContract Interface Documentation
Datei anzeigen
Open project: lukepolo/laracart
total()
public
method
Gets the total of the cart with or without tax.
public
total
(
boolean
$format
= true,
boolean
$withDiscount
= true ) :
string
$format
boolean
$withDiscount
boolean
return
string
public function total($format = true, $withDiscount = true);
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