Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Spec
Dumplie
Customer
Domain
CartSpec
let
Spec\Dumplie\Customer\Domain\CartSpec::let PHP Метод
Документация по классу CartSpec
Показать файл
Открыть проект
let()
публичный
Метод
public
let
( )
function let() { $this->beConstructedWith(CartId::generate(), 'EUR'); }
CartSpec
it_accepts_new_products
it_allows_to_remove_items
it_is_empty_by_default
it_sums_products_with_same_sku
it_throws_exception_when_adding_product_with_different_currencies
it_throws_exception_when_adding_unavailable_product
it_throws_exception_when_removing_products_that_is_not_in_cart
let