public static function zero(Currency $currency = null)
    {
        if (null === $currency) {
            $currency = Currency::valueOf(Currency::NONE);
        }

        return self::valueOf('0', $currency);
    }
public static function zero(Currency $currency = null)
    {
        if (null === $currency) {
            $currency = Currency::valueOf(Currency::NONE);
        }

        return self::valueOf('0', $currency);
    }
public static function zero ( Currency $ currency = null ) { if ( null === $ currency ) { $ currency = Currency :: valueOf ( Currency :: NONE ) ; } return self :: valueOf ( '0' , $ currency ) ; }
Creates a new instance with zero amount and Currency None or optional.

@param Currency $currency an optional currency to use

@return Money
Creates a new instance with zero amount and Currency None or optional .