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 LegacyTests\Browser\Alpine\Dispatch; use LegacyTests\Browser\TestCase; ..
Decoded Output download
<?php
namespace LegacyTests\Browser\Alpine\Dispatch;
use LegacyTests\Browser\TestCase;
class Test extends TestCase
{
public function test_dollar_wire_dispatch_works()
{
$this->browse(function ($browser) {
$this->visitLivewireComponent($browser, ['parent' => DispatchComponent::class, 'child' => DispatchNestedComponent::class])
->assertDontSee('dispatch worked')
->waitForLivewire()
->click('@dispatch')
->assertSee('Dispatch worked')
->assertDontSee('Dispatch self worked')
->waitForLivewire()
->click('@dispatchSelf')
->assertSee('Dispatch self worked')
->assertDontSee('Dispatch to worked')
->waitForLivewire()
->click('@dispatchTo')
->assertSee('Dispatch to worked')
;
});
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace LegacyTests\Browser\Alpine\Dispatch;
use LegacyTests\Browser\TestCase;
class Test extends TestCase
{
public function test_dollar_wire_dispatch_works()
{
$this->browse(function ($browser) {
$this->visitLivewireComponent($browser, ['parent' => DispatchComponent::class, 'child' => DispatchNestedComponent::class])
->assertDontSee('dispatch worked')
->waitForLivewire()
->click('@dispatch')
->assertSee('Dispatch worked')
->assertDontSee('Dispatch self worked')
->waitForLivewire()
->click('@dispatchSelf')
->assertSee('Dispatch self worked')
->assertDontSee('Dispatch to worked')
->waitForLivewire()
->click('@dispatchTo')
->assertSee('Dispatch to worked')
;
});
}
}
Function Calls
None |
Stats
MD5 | 114d2023b138889a9c34d551906f7be7 |
Eval Count | 0 |
Decode Time | 106 ms |