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 PowerComponents\LivewirePowerGrid\Components\Rules\Support; class Redire..
Decoded Output download
<?php
namespace PowerComponents\LivewirePowerGrid\Components\Rules\Support;
class RedirectRule
{
public function apply(array $ruleData): array
{
$output = [];
$redirectToUrl = data_get($ruleData, 'url');
$output['attributes'] = ['href' => $redirectToUrl, 'target' => '_blank'];
$output['remove'] = 'wire:click';
$output['component'] = 'a';
return $output;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace PowerComponents\LivewirePowerGrid\Components\Rules\Support;
class RedirectRule
{
public function apply(array $ruleData): array
{
$output = [];
$redirectToUrl = data_get($ruleData, 'url');
$output['attributes'] = ['href' => $redirectToUrl, 'target' => '_blank'];
$output['remove'] = 'wire:click';
$output['component'] = 'a';
return $output;
}
}
Function Calls
None |
Stats
MD5 | c80901eb0ec0f63ac893ee00b3420cc1 |
Eval Count | 0 |
Decode Time | 96 ms |