Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
LukePOLO
LaraCart
Contracts
LaraCartContract
total
LukePOLO\LaraCart\Contracts\LaraCartContract::total PHP Méthode
LaraCartContract Interface Documentation
Afficher le fichier
Open project: lukepolo/laracart
total()
public
méthode
Gets the total of the cart with or without tax.
public
total
(
boolean
$format
= true,
boolean
$withDiscount
= true ) :
string
$format
boolean
$withDiscount
boolean
Résultat
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