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
SharedKernel
Domain
Money
PriceSpec
PHP Класс Spec\Dumplie\SharedKernel\Domain\Money\PriceSpec
Наследование:
extends
PhpSpec\ObjectBehavior
Показать файл
Открыть проект
Открытые методы
Метод
Описание
it_can_be_created_from_integer
( )
it_can_be_multiplied
( )
it_has_immutable_currency
( )
it_is_converted_to_float
( )
it_knows_when_other_price_has_same_currency
( )
it_throw_exception_when_currency_is_not_known
( )
it_throws_exception_when_adding_to_price_with_a_different_currency
( )
it_throws_exception_when_adding_to_price_with_a_different_precisions
( )
it_throws_exception_when_precision_is_negaive
( )
it_throws_exception_when_value_is_negative
( )
Описание методов
it_can_be_created_from_integer()
публичный
Метод
public
it_can_be_created_from_integer
( )
it_can_be_multiplied()
публичный
Метод
public
it_can_be_multiplied
( )
it_has_immutable_currency()
публичный
Метод
public
it_has_immutable_currency
( )
it_is_converted_to_float()
публичный
Метод
public
it_is_converted_to_float
( )
it_knows_when_other_price_has_same_currency()
публичный
Метод
public
it_knows_when_other_price_has_same_currency
( )
it_throw_exception_when_currency_is_not_known()
публичный
Метод
public
it_throw_exception_when_currency_is_not_known
( )
it_throws_exception_when_adding_to_price_with_a_different_currency()
публичный
Метод
public
it_throws_exception_when_adding_to_price_with_a_different_currency
( )
it_throws_exception_when_adding_to_price_with_a_different_precisions()
публичный
Метод
public
it_throws_exception_when_adding_to_price_with_a_different_precisions
( )
it_throws_exception_when_precision_is_negaive()
публичный
Метод
public
it_throws_exception_when_precision_is_negaive
( )
it_throws_exception_when_value_is_negative()
публичный
Метод
public
it_throws_exception_when_value_is_negative
( )