Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
PhpMyAdmin /
MoTranslator /
Cache /
Delete
Unzip
Name
Size
Permission
Date
Action
ApcuCache.php
3.72
KB
-rw-r--r--
2022-04-26 11:24
ApcuCacheFactory.php
741
B
-rw-r--r--
2022-04-26 11:24
CacheFactoryInterface.php
249
B
-rw-r--r--
2022-04-26 11:24
CacheInterface.php
832
B
-rw-r--r--
2022-04-26 11:24
GetAllInterface.php
195
B
-rw-r--r--
2022-04-26 11:24
InMemoryCache.php
999
B
-rw-r--r--
2022-04-26 11:24
Save
Rename
<?php declare(strict_types=1); namespace PhpMyAdmin\MoTranslator\Cache; use PhpMyAdmin\MoTranslator\MoParser; use function array_key_exists; final class InMemoryCache implements CacheInterface, GetAllInterface { /** @var array<string, string> */ private $cache; public function __construct(MoParser $parser) { $this->cache = []; $parser->parseIntoCache($this); } public function get(string $msgid): string { return array_key_exists($msgid, $this->cache) ? $this->cache[$msgid] : $msgid; } public function set(string $msgid, string $msgstr): void { $this->cache[$msgid] = $msgstr; } public function has(string $msgid): bool { return array_key_exists($msgid, $this->cache); } public function setAll(array $translations): void { $this->cache = $translations; } /** * @inheritDoc */ public function getAll(): array { return $this->cache; } }