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 Filament\Actions\Concerns; use Closure; use Illuminate\Support\Arr; tra..
Decoded Output download
<?php
namespace Filament\Actions\Concerns;
use Closure;
use Illuminate\Support\Arr;
trait HasKeyBindings
{
/**
* @var string | array<string> | Closure | null
*/
protected string | array | Closure | null $keyBindings = null;
/**
* @param string | array<string> | Closure | null $bindings
*/
public function keyBindings(string | array | Closure | null $bindings): static
{
$this->keyBindings = $bindings;
return $this;
}
/**
* @return array<string> | null
*/
public function getKeyBindings(): ?array
{
$keyBindings = Arr::wrap($this->evaluate($this->keyBindings));
return count($keyBindings) ? $keyBindings : null;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Filament\Actions\Concerns;
use Closure;
use Illuminate\Support\Arr;
trait HasKeyBindings
{
/**
* @var string | array<string> | Closure | null
*/
protected string | array | Closure | null $keyBindings = null;
/**
* @param string | array<string> | Closure | null $bindings
*/
public function keyBindings(string | array | Closure | null $bindings): static
{
$this->keyBindings = $bindings;
return $this;
}
/**
* @return array<string> | null
*/
public function getKeyBindings(): ?array
{
$keyBindings = Arr::wrap($this->evaluate($this->keyBindings));
return count($keyBindings) ? $keyBindings : null;
}
}
Function Calls
None |
Stats
MD5 | 623034376912259ca7a4d7d16576bc33 |
Eval Count | 0 |
Decode Time | 111 ms |