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 Timber\Cache; use Timber\Loader; class WPObjectCacheAdapter { publi..
Decoded Output download
<?php
namespace Timber\Cache;
use Timber\Loader;
class WPObjectCacheAdapter
{
public function __construct(
private readonly Loader $timberloader,
private $cache_group = 'timber'
) {
}
public function fetch($key)
{
return $this->timberloader->get_cache($key, $this->cache_group, Loader::CACHE_USE_DEFAULT);
}
public function save($key, $value, $expire = 0)
{
return $this->timberloader->set_cache($key, $value, $this->cache_group, $expire, Loader::CACHE_USE_DEFAULT);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Timber\Cache;
use Timber\Loader;
class WPObjectCacheAdapter
{
public function __construct(
private readonly Loader $timberloader,
private $cache_group = 'timber'
) {
}
public function fetch($key)
{
return $this->timberloader->get_cache($key, $this->cache_group, Loader::CACHE_USE_DEFAULT);
}
public function save($key, $value, $expire = 0)
{
return $this->timberloader->set_cache($key, $value, $this->cache_group, $expire, Loader::CACHE_USE_DEFAULT);
}
}
Function Calls
None |
Stats
MD5 | 85aa30a5fc2277c41209ccc6212b3654 |
Eval Count | 0 |
Decode Time | 113 ms |