Toggle navigation
Hot Examples
KO
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
파일 보기
프로젝트 열기: dumplie/dumplie
공개 메소드들
메소드
설명
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
( )