juliobitencourt/laravel-cart

View on GitHub
src/CartInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace JulioBitencourt\Cart;

interface CartInterface
{
    public function insert($item);

    public function update($id, $quantity);

    public function delete($id);

    public function all();

    public function isEmpty();

    public function destroy();

    public function totalItems();

    public function total();

    public function setEmail($email);
}