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 use PowerComponents\LivewirePowerGrid\Tests\Concerns\Components\DishesDynamicFilter..
Decoded Output download
<?php
use PowerComponents\LivewirePowerGrid\Tests\Concerns\Components\DishesDynamicFiltersTable;
use function PowerComponents\LivewirePowerGrid\Tests\Plugins\livewire;
it(
'properly filters using dynamic filter feature',
fn (string $component, object $params) => livewire($component)
->call($params->theme)
->assertSeeHtmlInOrder([
'<div>class: min-w-[170px]</div>',
'<div>options: [{"name":"Active","value":true},{"name":"Inactive","value":false}]</div>',
'<div>option-label: name</div>',
'<div>option-value: value</div>',
'<div>placeholder: Choose</div>',
])
)->group('filters')->with('dynamic_themes');
dataset('dynamic_themes', [
'tailwind' => [DishesDynamicFiltersTable::class, (object) ['theme' => 'tailwind']],
'bootstrap' => [DishesDynamicFiltersTable::class, (object) ['theme' => 'bootstrap']],
]);
?>
Did this file decode correctly?
Original Code
<?php
use PowerComponents\LivewirePowerGrid\Tests\Concerns\Components\DishesDynamicFiltersTable;
use function PowerComponents\LivewirePowerGrid\Tests\Plugins\livewire;
it(
'properly filters using dynamic filter feature',
fn (string $component, object $params) => livewire($component)
->call($params->theme)
->assertSeeHtmlInOrder([
'<div>class: min-w-[170px]</div>',
'<div>options: [{"name":"Active","value":true},{"name":"Inactive","value":false}]</div>',
'<div>option-label: name</div>',
'<div>option-value: value</div>',
'<div>placeholder: Choose</div>',
])
)->group('filters')->with('dynamic_themes');
dataset('dynamic_themes', [
'tailwind' => [DishesDynamicFiltersTable::class, (object) ['theme' => 'tailwind']],
'bootstrap' => [DishesDynamicFiltersTable::class, (object) ['theme' => 'bootstrap']],
]);
Function Calls
None |
Stats
MD5 | 2fa2087c36c08caaa11da4824f04f3fe |
Eval Count | 0 |
Decode Time | 105 ms |