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 declare(strict_types=1); namespace Symplify\EasyCodingStandard\Caching; use Sympl..
Decoded Output download
<?php
declare(strict_types=1);
namespace Symplify\EasyCodingStandard\Caching;
use Symplify\EasyCodingStandard\Caching\ValueObject\Storage\FileCacheStorage;
final readonly class Cache
{
public function __construct(
private FileCacheStorage $fileCacheStorage
) {
}
/**
* @api
*/
public function load(string $key, string $variableKey): ?string
{
return $this->fileCacheStorage->load($key, $variableKey);
}
/**
* @api
*/
public function save(string $key, string $variableKey, string $data): void
{
$this->fileCacheStorage->save($key, $variableKey, $data);
}
public function clear(): void
{
$this->fileCacheStorage->clear();
}
public function clean(string $cacheKey): void
{
$this->fileCacheStorage->clean($cacheKey);
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Symplify\EasyCodingStandard\Caching;
use Symplify\EasyCodingStandard\Caching\ValueObject\Storage\FileCacheStorage;
final readonly class Cache
{
public function __construct(
private FileCacheStorage $fileCacheStorage
) {
}
/**
* @api
*/
public function load(string $key, string $variableKey): ?string
{
return $this->fileCacheStorage->load($key, $variableKey);
}
/**
* @api
*/
public function save(string $key, string $variableKey, string $data): void
{
$this->fileCacheStorage->save($key, $variableKey, $data);
}
public function clear(): void
{
$this->fileCacheStorage->clear();
}
public function clean(string $cacheKey): void
{
$this->fileCacheStorage->clean($cacheKey);
}
}
Function Calls
None |
Stats
MD5 | 8a273c7c0fccc3019a96fa69d169bd7f |
Eval Count | 0 |
Decode Time | 88 ms |