ヤミ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: PsrCacheAdapter.php
<?php namespace Metadata\Cache; use Metadata\ClassMetadata; use Psr\Cache\CacheItemPoolInterface; class PsrCacheAdapter implements CacheInterface { private $prefix; private $pool; private $lastItem; public function __construct($prefix, CacheItemPoolInterface $pool) { $this->prefix = $prefix; $this->pool = $pool; } /** * {@inheritDoc} */ public function loadClassMetadataFromCache(\ReflectionClass $class) { $this->lastItem = $this->pool->getItem(strtr($this->prefix . $class->name, '\\', '.')); return $this->lastItem->get(); } /** * {@inheritDoc} */ public function putClassMetadataInCache(ClassMetadata $metadata) { $key = strtr($this->prefix . $metadata->name, '\\', '.'); if (null === $this->lastItem || $this->lastItem->getKey() !== $key) { $this->lastItem = $this->pool->getItem($key); } $this->pool->save($this->lastItem->set($metadata)); } /** * {@inheritDoc} */ public function evictClassMetadataFromCache(\ReflectionClass $class) { $this->pool->deleteItem(strtr($this->prefix . $class->name, '\\', '.')); } }
Coded With 💗 by
0x6ick