yii2mod/yii2-cart

View on GitHub
storage/StorageInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace yii2mod\cart\storage;

use yii2mod\cart\Cart;

/**
 * Interface StorageInterface
 *
 * @package yii2mod\cart\storage
 */
interface StorageInterface
{
    /**
     * @param Cart $cart
     *
     * @return mixed
     */
    public function load(Cart $cart);

    /**
     * @param Cart $cart
     */
    public function save(Cart $cart);
}