KUJUNTI.ID MINISH3LL
Path : /var/www/html/phkaymedia/vendor/livewire/livewire/src/Features/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/phkaymedia/vendor/livewire/livewire/src/Features/SupportRootElementTracking.php


<?php

namespace Livewire\Features;

use Livewire\Livewire;

class SupportRootElementTracking
{
    static function init() { return new static; }

    function __construct()
    {
        Livewire::listen('component.dehydrate.initial', function ($component, $response) {
            if (! $html = data_get($response, 'effects.html')) return;

            data_set($response, 'effects.html', $this->addComponentEndingMarker($html, $component));
        });
    }

    public function addComponentEndingMarker($html, $component)
    {
        return $html."\n<!-- Livewire Component wire-end:".$component->id.' -->';
    }

    public static function stripOutEndingMarker($html)
    {
        return preg_replace('/<!-- Livewire Component wire-end:.*? -->/', '', $html);
    }
}

© KUJUNTI.ID