Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
LukePOLO
LaraCart
Contracts
LaraCartContract
total
LukePOLO\LaraCart\Contracts\LaraCartContract::total PHP Метод
Документация по интерфейсу LaraCartContract
Показать файл
Открыть проект
total()
публичный
Метод
Gets the total of the cart with or without tax.
public
total
(
boolean
$format
= true,
boolean
$withDiscount
= true ) :
string
$format
boolean
$withDiscount
boolean
Результат
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