Submit
Path:
~
/
home
/
sbfocnqg
/
public_html
/
myadmin
/
vendor
/
phpmyadmin
/
motranslator
/
src
/
Cache
/
File Content:
ApcuCacheFactory.php
<?php declare(strict_types=1); namespace PhpMyAdmin\MoTranslator\Cache; use PhpMyAdmin\MoTranslator\MoParser; final class ApcuCacheFactory implements CacheFactoryInterface { /** @var int */ private $ttl; /** @var bool */ private $reloadOnMiss; /** @var string */ private $prefix; public function __construct(int $ttl = 0, bool $reloadOnMiss = true, string $prefix = 'mo_') { $this->ttl = $ttl; $this->reloadOnMiss = $reloadOnMiss; $this->prefix = $prefix; } public function getInstance(MoParser $parser, string $locale, string $domain): CacheInterface { return new ApcuCache($parser, $locale, $domain, $this->ttl, $this->reloadOnMiss, $this->prefix); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
ApcuCache.php
3811 bytes
0644
ApcuCacheFactory.php
741 bytes
0644
CacheFactoryInterface.php
249 bytes
0644
CacheInterface.php
832 bytes
0644
GetAllInterface.php
195 bytes
0644
InMemoryCache.php
999 bytes
0644
N4ST4R_ID | Naxtarrr