Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Livewire\Features\SupportAutoInjectedAssets; use Livewire\Attributes\Lay..

Decoded Output download

<?php

namespace Livewire\Features\SupportAutoInjectedAssets;

use Livewire\Attributes\Layout;
use Livewire\Component;
use Livewire\Livewire;
use Tests\BrowserTestCase;

class BrowserTest extends BrowserTestCase
{
    public function test_livewire_styles_take_preference_over_other_styles()
    {
        Livewire::visit(new class extends Component {
            #[Layout('layouts.app-with-styles')]
            function render()
            {

                return <<<'HTML'
                <div>
                    <div wire:loading class="show" dusk="loading">Loading</div>

                    <button type="button" wire:click="$refresh" dusk="refresh">Refresh</button>
                </div>
                HTML;
            }
        })
        ->assertNotVisible('@loading')
        ->waitForLivewire()->click('@refresh')
        ->assertNotVisible('@loading')
        ;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Livewire\Features\SupportAutoInjectedAssets;

use Livewire\Attributes\Layout;
use Livewire\Component;
use Livewire\Livewire;
use Tests\BrowserTestCase;

class BrowserTest extends BrowserTestCase
{
    public function test_livewire_styles_take_preference_over_other_styles()
    {
        Livewire::visit(new class extends Component {
            #[Layout('layouts.app-with-styles')]
            function render()
            {

                return <<<'HTML'
                <div>
                    <div wire:loading class="show" dusk="loading">Loading</div>

                    <button type="button" wire:click="$refresh" dusk="refresh">Refresh</button>
                </div>
                HTML;
            }
        })
        ->assertNotVisible('@loading')
        ->waitForLivewire()->click('@refresh')
        ->assertNotVisible('@loading')
        ;
    }
}

Function Calls

None

Variables

None

Stats

MD5 98555a48c0379336b659a88b572be70f
Eval Count 0
Decode Time 109 ms