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.218.99.99
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
jms /
serializer /
src /
Handler /
Delete
Unzip
Name
Size
Permission
Date
Action
ArrayCollectionHandler.php
5.02
KB
-rw-rw-r--
2022-08-24 15:26
ConstraintViolationHandler.php
2.78
KB
-rw-rw-r--
2022-08-24 15:26
DateHandler.php
9.47
KB
-rw-rw-r--
2022-08-24 15:26
FormErrorHandler.php
5.34
KB
-rw-rw-r--
2022-08-24 15:26
HandlerRegistry.php
2.8
KB
-rw-rw-r--
2022-08-24 15:26
HandlerRegistryInterface.php
873
B
-rw-rw-r--
2022-08-24 15:26
IteratorHandler.php
3.57
KB
-rw-rw-r--
2022-08-24 15:26
LazyHandlerRegistry.php
2.1
KB
-rw-rw-r--
2022-08-24 15:26
StdClassHandler.php
1.52
KB
-rw-rw-r--
2022-08-24 15:26
SubscribingHandlerInterface.php
700
B
-rw-rw-r--
2022-08-24 15:26
SymfonyUidHandler.php
5.01
KB
-rw-rw-r--
2022-08-24 15:26
Save
Rename
<?php declare(strict_types=1); namespace JMS\Serializer\Handler; use JMS\Serializer\GraphNavigatorInterface; use JMS\Serializer\Metadata\StaticPropertyMetadata; use JMS\Serializer\SerializationContext; use JMS\Serializer\Visitor\SerializationVisitorInterface; /** * @author Asmir Mustafic <goetas@gmail.com> */ final class StdClassHandler implements SubscribingHandlerInterface { /** * {@inheritdoc} */ public static function getSubscribingMethods() { $methods = []; $formats = ['json', 'xml', 'yml']; foreach ($formats as $format) { $methods[] = [ 'direction' => GraphNavigatorInterface::DIRECTION_SERIALIZATION, 'type' => \stdClass::class, 'format' => $format, 'method' => 'serializeStdClass', ]; } return $methods; } /** * @return mixed */ public function serializeStdClass(SerializationVisitorInterface $visitor, \stdClass $stdClass, array $type, SerializationContext $context) { $classMetadata = $context->getMetadataFactory()->getMetadataForClass('stdClass'); $visitor->startVisitingObject($classMetadata, $stdClass, ['name' => 'stdClass']); foreach ((array) $stdClass as $name => $value) { $metadata = new StaticPropertyMetadata('stdClass', $name, $value); $visitor->visitProperty($metadata, $value); } return $visitor->endVisitingObject($classMetadata, $stdClass, ['name' => 'stdClass']); } }