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 App\Repositories; use App\Models\Setting; class SettingRepository exten..
Decoded Output download
<?php
namespace App\Repositories;
use App\Models\Setting;
class SettingRepository extends Repository
{
/** @return array<mixed> */
public function getAllAsKeyValueArray(): array
{
return $this->model->pluck('value', 'key')->toArray();
}
public function getByKey(string $key): mixed
{
return Setting::get($key);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace App\Repositories;
use App\Models\Setting;
class SettingRepository extends Repository
{
/** @return array<mixed> */
public function getAllAsKeyValueArray(): array
{
return $this->model->pluck('value', 'key')->toArray();
}
public function getByKey(string $key): mixed
{
return Setting::get($key);
}
}
Function Calls
| None |
Stats
| MD5 | 9c5185b52ede97884e72c988c520a1ff |
| Eval Count | 0 |
| Decode Time | 111 ms |