• File: MoneyParser.php
  • Full Path: /var/www/crm_set/application/vendor/moneyphp/money/src/MoneyParser.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 462 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Money;

/**
 * Parses a string into a Money object.
 *
 * @author Frederik Bosch <f.bosch@genkgo.nl>
 */
interface MoneyParser
{
    /**
     * Parses a string into a Money object (including currency).
     *
     * @param string               $money
     * @param Currency|string|null $forceCurrency
     *
     * @return Money
     *
     * @throws Exception\ParserException
     */
    public function parse($money, $forceCurrency = null);
}