public function append($value)
    {
        if (!$value instanceof $this->currencyClass) {
            throw new \InvalidArgumentException(sprintf('$newval must be an instance of Currency, instance of "%s" given', get_class($value)));
        }

        parent::append($value);
    }
public function append($value)
    {
        if (!$value instanceof $this->currencyClass) {
            throw new \InvalidArgumentException(sprintf('$newval must be an instance of Currency, instance of "%s" given', get_class($value)));
        }

        parent::append($value);
    }
public function append ( $ value ) { if ( ! $ value instanceof $ this -> currencyClass ) { throw new \ InvalidArgumentException ( sprintf ( '$newval must be an instance of Currency, instance of "%s" given' , get_class ( $ value ) ) ) ; } parent :: append ( $ value ) ; }
Append a value

@param Currency $value
Append a value