���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: ToasterConfig.php
<?php declare(strict_types=1); namespace Masmerise\Toaster; use Illuminate\Support\Arr; /** @internal */ final readonly class ToasterConfig { private function __construct( public string $alignment, public int $duration, public string $position, public bool $wantsAccessibility, public bool $wantsCloseableToasts, public bool $wantsReplacement, public bool $wantsSuppression, public bool $wantsTranslation, ) {} /** * @param array{ * alignment?: "bottom" | "middle" | "top", * duration?: int, * position?: "center" | "left" | "right", * accessibility?: bool, * closeable?: bool, * replace?: bool, * suppress?: bool, * translate?: bool, * } $config */ public static function fromArray(array $config): self { return new self( Arr::get($config, 'alignment', 'bottom'), Arr::get($config, 'duration', 3000), Arr::get($config, 'position', 'right'), Arr::get($config, 'accessibility', true), Arr::get($config, 'closeable', true), Arr::get($config, 'replace', false), Arr::get($config, 'suppress', false), Arr::get($config, 'translate', true), ); } public function alignment(): Alignment { return Alignment::from($this->alignment); } public function position(): Position { return Position::from($this->position); } public function toJavaScript(): array { return [ 'alignment' => $this->alignment, 'duration' => $this->duration, 'replace' => $this->wantsReplacement, 'suppress' => $this->wantsSuppression, ]; } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa