Money\Money::assertNumeric PHP 메소드

assertNumeric() 개인적인 정적인 메소드

Asserts that a value is a valid numeric string
private static assertNumeric ( numeric $value )
$value numeric
    private static function assertNumeric($value)
    {
        if (!is_numeric($value)) {
            throw new InvalidArgumentException('Amount must be a valid numeric value');
        }
    }