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; use Livewire\Wireable; final class D..
Decoded Output download
<?php
namespace PowerComponents\LivewirePowerGrid;
use Livewire\Wireable;
final class Detail implements Wireable
{
public string $name = 'detail';
public string $view = '';
public array $options = [];
public array $state = [];
public bool $showCollapseIcon = false;
public string $viewIcon = '';
public bool $collapseOthers = false;
public static function make(): self
{
return new Detail();
}
public function view(string $view): Detail
{
$this->view = $view;
return $this;
}
/** @deprecated - use params instead of options, it will deprecate in version 4 */
public function options(array $options = []): Detail
{
$this->options = $options;
return $this;
}
public function params(array $params = []): Detail
{
$this->options = $params;
return $this;
}
public function showCollapseIcon(string $viewIcon = ''): Detail
{
$this->showCollapseIcon = true;
$this->viewIcon = $viewIcon;
return $this;
}
public function collapseOthers(): Detail
{
$this->collapseOthers = true;
return $this;
}
public function toLivewire(): array
{
return (array) $this;
}
public static function fromLivewire($value)
{
return $value;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace PowerComponents\LivewirePowerGrid;
use Livewire\Wireable;
final class Detail implements Wireable
{
public string $name = 'detail';
public string $view = '';
public array $options = [];
public array $state = [];
public bool $showCollapseIcon = false;
public string $viewIcon = '';
public bool $collapseOthers = false;
public static function make(): self
{
return new Detail();
}
public function view(string $view): Detail
{
$this->view = $view;
return $this;
}
/** @deprecated - use params instead of options, it will deprecate in version 4 */
public function options(array $options = []): Detail
{
$this->options = $options;
return $this;
}
public function params(array $params = []): Detail
{
$this->options = $params;
return $this;
}
public function showCollapseIcon(string $viewIcon = ''): Detail
{
$this->showCollapseIcon = true;
$this->viewIcon = $viewIcon;
return $this;
}
public function collapseOthers(): Detail
{
$this->collapseOthers = true;
return $this;
}
public function toLivewire(): array
{
return (array) $this;
}
public static function fromLivewire($value)
{
return $value;
}
}
Function Calls
None |
Stats
MD5 | afe1c240c7721e5691078ab42e8e5bd1 |
Eval Count | 0 |
Decode Time | 89 ms |