<reponame>incolume-jedi/academia-jedi<?php

namespace Money;

/**
 * Formats Money objects.
 *
 * @author Frederik Bosch <efpyi@example.com>
 */
interface MoneyFormatter
{
    /**
     * Formats a Money object as string.
     *
     * @param Money $money
     *
     * @return string
     *
     * Exception\FormatterException
     */
    public function format(Money $money);
}
