REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 871 B
Close
/proc/thread-self/root/home/byroehnu/easetack.com/vendor/moneyphp/money/src/Parser/AggregateMoneyParser.php
Text
Base64
<?php declare(strict_types=1); namespace Money\Parser; use Money\Currency; use Money\Exception; use Money\Money; use Money\MoneyParser; use function sprintf; /** * Parses a string into a Money object using other parsers. */ final class AggregateMoneyParser implements MoneyParser { /** * @param MoneyParser[] $parsers * @phpstan-param non-empty-array<MoneyParser> $parsers */ public function __construct(private readonly array $parsers) { } public function parse(string $money, Currency|null $fallbackCurrency = null): Money { foreach ($this->parsers as $parser) { try { return $parser->parse($money, $fallbackCurrency); } catch (Exception\ParserException) { } } throw new Exception\ParserException(sprintf('Unable to parse %s', $money)); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AggregateMoneyParser.php
871 B
lrw-rw-rw-
2025-04-03 08:26:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
BitcoinMoneyParser.php
1.68 KB
lrw-rw-rw-
2025-04-03 08:26:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DecimalMoneyParser.php
2.34 KB
lrw-rw-rw-
2025-04-03 08:26:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
IntlLocalizedDecimalParser.php
2.19 KB
lrw-rw-rw-
2025-04-03 08:26:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
IntlMoneyParser.php
2.30 KB
lrw-rw-rw-
2025-04-03 08:26:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).