You are here

public function CartHandler::cartExists in Mailchimp E-Commerce 8

@inheritdoc

Overrides CartHandlerInterface::cartExists

File

src/CartHandler.php, line 53

Class

CartHandler
Cart handler.

Namespace

Drupal\mailchimp_ecommerce

Code

public function cartExists($cart_id) {
  return !empty($this
    ->getCart($cart_id));
}