Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Money
Money
newInstance
Money\Money::newInstance PHP 메소드
Money 1 문서
파일 보기
프로젝트 열기: ulabox/money
newInstance()
개인적인
메소드
Returns a new Money instance based on the current one
private
newInstance
(
string
$amount
) :
Money
$amount
string
리턴
Money
private function newInstance($amount) { return new self($amount, $this->currency); }
Money
__callStatic
__construct
add
amount
assertNumeric
assertSameCurrencyAs
compareTo
compareTo0
convertTo
currency
divideBy
equals
fromAmount
hasSameCurrencyAs
isGreaterThan
isGreaterThanOrEqualTo
isLessThan
isLessThanOrEqualTo
isNegative
isPositive
isZero
multiplyBy
newInstance
round
subtract