Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Overtrue
LaravelShoppingCart
Cart
isEmpty
Overtrue\LaravelShoppingCart\Cart::isEmpty PHP Method
Cart Class Documentation
Show file
Open project: overtrue/laravel-shopping-cart
isEmpty()
public
method
Return whether the shopping cart is empty.
public
isEmpty
( ) :
boolean
return
boolean
public function isEmpty() { return $this->count() <= 0; }
Cart
__construct
add
addRow
all
associate
clean
count
countRows
destroy
generateRawId
get
getCart
getModel
getName
insertRow
isEmpty
makeRow
name
remove
save
search
total
totalPrice
update
updateAttribute
updateQty
updateRow