Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.227.102.59
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
symfony /
cache /
Adapter /
Delete
Unzip
Name
Size
Permission
Date
Action
AbstractAdapter.php
8.4
KB
-rw-rw-r--
2022-07-28 15:25
AbstractTagAwareAdapter.php
12.72
KB
-rw-rw-r--
2022-07-28 15:25
AdapterInterface.php
993
B
-rw-rw-r--
2022-07-28 15:25
ApcuAdapter.php
3.87
KB
-rw-rw-r--
2022-07-28 15:25
ArrayAdapter.php
11.1
KB
-rw-rw-r--
2022-07-28 15:25
ChainAdapter.php
9.14
KB
-rw-rw-r--
2022-07-28 15:25
CouchbaseBucketAdapter.php
7.55
KB
-rw-rw-r--
2022-07-28 15:25
CouchbaseCollectionAdapter.php
6.55
KB
-rw-rw-r--
2022-07-28 15:25
DoctrineAdapter.php
2.78
KB
-rw-rw-r--
2022-07-28 15:25
DoctrineDbalAdapter.php
15
KB
-rw-rw-r--
2022-07-28 15:25
FilesystemAdapter.php
933
B
-rw-rw-r--
2022-07-28 15:25
FilesystemTagAwareAdapter.php
7.41
KB
-rw-rw-r--
2022-07-28 15:25
MemcachedAdapter.php
13.51
KB
-rw-rw-r--
2022-07-28 15:25
NullAdapter.php
2.71
KB
-rw-rw-r--
2022-07-28 15:25
ParameterNormalizer.php
898
B
-rw-rw-r--
2022-07-28 15:25
PdoAdapter.php
19.85
KB
-rw-rw-r--
2022-07-28 15:25
PhpArrayAdapter.php
12.31
KB
-rw-rw-r--
2022-07-28 15:25
PhpFilesAdapter.php
10.02
KB
-rw-rw-r--
2022-07-28 15:25
ProxyAdapter.php
8.26
KB
-rw-rw-r--
2022-07-28 15:25
Psr16Adapter.php
1.86
KB
-rw-rw-r--
2022-07-28 15:25
RedisAdapter.php
1.17
KB
-rw-rw-r--
2022-07-28 15:25
RedisTagAwareAdapter.php
12.19
KB
-rw-rw-r--
2022-07-28 15:25
TagAwareAdapter.php
11.21
KB
-rw-rw-r--
2022-07-28 15:25
TagAwareAdapterInterface.php
769
B
-rw-rw-r--
2022-07-28 15:25
TraceableAdapter.php
6.76
KB
-rw-rw-r--
2022-07-28 15:25
TraceableTagAwareAdapter.php
926
B
-rw-rw-r--
2022-07-28 15:25
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Cache\Adapter; use Psr\Cache\CacheItemInterface; use Symfony\Component\Cache\CacheItem; use Symfony\Component\Cache\PruneableInterface; use Symfony\Component\Cache\ResettableInterface; use Symfony\Contracts\Cache\CacheInterface; use Symfony\Contracts\Service\ResetInterface; /** * An adapter that collects data about all cache calls. * * @author Aaron Scherer <aequasi@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Nicolas Grekas <p@tchwork.com> */ class TraceableAdapter implements AdapterInterface, CacheInterface, PruneableInterface, ResettableInterface { protected $pool; private $calls = []; public function __construct(AdapterInterface $pool) { $this->pool = $pool; } /** * {@inheritdoc} */ public function get(string $key, callable $callback, float $beta = null, array &$metadata = null) { if (!$this->pool instanceof CacheInterface) { throw new \BadMethodCallException(sprintf('Cannot call "%s::get()": this class doesn\'t implement "%s".', get_debug_type($this->pool), CacheInterface::class)); } $isHit = true; $callback = function (CacheItem $item, bool &$save) use ($callback, &$isHit) { $isHit = $item->isHit(); return $callback($item, $save); }; $event = $this->start(__FUNCTION__); try { $value = $this->pool->get($key, $callback, $beta, $metadata); $event->result[$key] = get_debug_type($value); } finally { $event->end = microtime(true); } if ($isHit) { ++$event->hits; } else { ++$event->misses; } return $value; } /** * {@inheritdoc} */ public function getItem($key) { $event = $this->start(__FUNCTION__); try { $item = $this->pool->getItem($key); } finally { $event->end = microtime(true); } if ($event->result[$key] = $item->isHit()) { ++$event->hits; } else { ++$event->misses; } return $item; } /** * {@inheritdoc} * * @return bool */ public function hasItem($key) { $event = $this->start(__FUNCTION__); try { return $event->result[$key] = $this->pool->hasItem($key); } finally { $event->end = microtime(true); } } /** * {@inheritdoc} * * @return bool */ public function deleteItem($key) { $event = $this->start(__FUNCTION__); try { return $event->result[$key] = $this->pool->deleteItem($key); } finally { $event->end = microtime(true); } } /** * {@inheritdoc} * * @return bool */ public function save(CacheItemInterface $item) { $event = $this->start(__FUNCTION__); try { return $event->result[$item->getKey()] = $this->pool->save($item); } finally { $event->end = microtime(true); } } /** * {@inheritdoc} * * @return bool */ public function saveDeferred(CacheItemInterface $item) { $event = $this->start(__FUNCTION__); try { return $event->result[$item->getKey()] = $this->pool->saveDeferred($item); } finally { $event->end = microtime(true); } } /** * {@inheritdoc} */ public function getItems(array $keys = []) { $event = $this->start(__FUNCTION__); try { $result = $this->pool->getItems($keys); } finally { $event->end = microtime(true); } $f = function () use ($result, $event) { $event->result = []; foreach ($result as $key => $item) { if ($event->result[$key] = $item->isHit()) { ++$event->hits; } else { ++$event->misses; } yield $key => $item; } }; return $f(); } /** * {@inheritdoc} * * @return bool */ public function clear(string $prefix = '') { $event = $this->start(__FUNCTION__); try { if ($this->pool instanceof AdapterInterface) { return $event->result = $this->pool->clear($prefix); } return $event->result = $this->pool->clear(); } finally { $event->end = microtime(true); } } /** * {@inheritdoc} * * @return bool */ public function deleteItems(array $keys) { $event = $this->start(__FUNCTION__); $event->result['keys'] = $keys; try { return $event->result['result'] = $this->pool->deleteItems($keys); } finally { $event->end = microtime(true); } } /** * {@inheritdoc} * * @return bool */ public function commit() { $event = $this->start(__FUNCTION__); try { return $event->result = $this->pool->commit(); } finally { $event->end = microtime(true); } } /** * {@inheritdoc} */ public function prune() { if (!$this->pool instanceof PruneableInterface) { return false; } $event = $this->start(__FUNCTION__); try { return $event->result = $this->pool->prune(); } finally { $event->end = microtime(true); } } /** * {@inheritdoc} */ public function reset() { if ($this->pool instanceof ResetInterface) { $this->pool->reset(); } $this->clearCalls(); } /** * {@inheritdoc} */ public function delete(string $key): bool { $event = $this->start(__FUNCTION__); try { return $event->result[$key] = $this->pool->deleteItem($key); } finally { $event->end = microtime(true); } } public function getCalls() { return $this->calls; } public function clearCalls() { $this->calls = []; } protected function start(string $name) { $this->calls[] = $event = new TraceableAdapterEvent(); $event->name = $name; $event->start = microtime(true); return $event; } } class TraceableAdapterEvent { public $name; public $start; public $end; public $result; public $hits = 0; public $misses = 0; }