���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
npln
/
vendor
/
masmerise
/
livewire-toaster
/
src
/
Viewing: Message.php
<?php declare(strict_types=1); namespace Masmerise\Toaster; use InvalidArgumentException; /** @internal */ final readonly class Message { public array $replace; public string $value; private function __construct(string $value, array $replace = []) { if (empty($value = trim($value))) { throw new InvalidArgumentException('The message value cannot be empty.'); } $this->value = $value; $this->replace = $replace; } public static function fromString(string $value): self { return new self($value); } public static function fromTranslatable(string $value, array $replace = []): self { return new self($value, $replace); } public function equals(Message|string $other): bool { if ($other instanceof Message) { $other = $other->value; } return $other === $this->value; } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa