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\Concerns; use Illuminate\Da..
Decoded Output download
<?php
namespace PowerComponents\LivewirePowerGrid\Components\Concerns;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\{Arr, Collection};
trait UnDot
{
public function unDotActionsFromRow(Model|\stdClass|array $row, string $key): Collection
{
/** @phpstan-ignore-next-line */
$unDottedRow = Arr::undot(collect($row)->toArray());
$actions = (array) data_get($unDottedRow, $key, []);
return collect($actions);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace PowerComponents\LivewirePowerGrid\Components\Concerns;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\{Arr, Collection};
trait UnDot
{
public function unDotActionsFromRow(Model|\stdClass|array $row, string $key): Collection
{
/** @phpstan-ignore-next-line */
$unDottedRow = Arr::undot(collect($row)->toArray());
$actions = (array) data_get($unDottedRow, $key, []);
return collect($actions);
}
}
Function Calls
None |
Stats
MD5 | f298bb9a43d50d55362f27b71fcddb2c |
Eval Count | 0 |
Decode Time | 100 ms |