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 : 3.15.147.225
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 /
Delete
Unzip
Name
Size
Permission
Date
Action
Accessor
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Annotation
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Builder
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Construction
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
ContextFactory
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
EventDispatcher
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Exception
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Exclusion
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Expression
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
GraphNavigator
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Handler
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Metadata
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Naming
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Ordering
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Twig
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Type
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
Visitor
[ DIR ]
drwxrwxr-x
2022-08-24 15:26
AbstractVisitor.php
2.98
KB
-rw-rw-r--
2022-08-24 15:26
ArrayTransformerInterface.php
917
B
-rw-rw-r--
2022-08-24 15:26
Context.php
6.08
KB
-rw-rw-r--
2022-08-24 15:26
DeserializationContext.php
775
B
-rw-rw-r--
2022-08-24 15:26
Functions.php
414
B
-rw-rw-r--
2022-08-24 15:26
GraphNavigator.php
1.05
KB
-rw-rw-r--
2022-08-24 15:26
GraphNavigatorInterface.php
1018
B
-rw-rw-r--
2022-08-24 15:26
JsonDeserializationStrictVisitor.php
3.99
KB
-rw-rw-r--
2022-08-24 15:26
JsonDeserializationVisitor.php
6.43
KB
-rw-rw-r--
2022-08-24 15:26
JsonSerializationVisitor.php
5.02
KB
-rw-rw-r--
2022-08-24 15:26
NullAwareVisitorInterface.php
346
B
-rw-rw-r--
2022-08-24 15:26
SerializationContext.php
3.44
KB
-rw-rw-r--
2022-08-24 15:26
Serializer.php
8.78
KB
-rw-rw-r--
2022-08-24 15:26
SerializerBuilder.php
19.95
KB
-rw-rw-r--
2022-08-24 15:26
SerializerInterface.php
768
B
-rw-rw-r--
2022-08-24 15:26
VisitorInterface.php
938
B
-rw-rw-r--
2022-08-24 15:26
XmlDeserializationVisitor.php
15.94
KB
-rw-rw-r--
2022-08-24 15:26
XmlSerializationVisitor.php
16.18
KB
-rw-rw-r--
2022-08-24 15:26
Save
Rename
<?php declare(strict_types=1); namespace JMS\Serializer; use JMS\Serializer\Exception\NonFloatCastableTypeException; use JMS\Serializer\Exception\NonIntCastableTypeException; use JMS\Serializer\Exception\NonStringCastableTypeException; /** * @internal */ abstract class AbstractVisitor implements VisitorInterface { /** * @var GraphNavigatorInterface */ protected $navigator; public function setNavigator(GraphNavigatorInterface $navigator): void { $this->navigator = $navigator; } /** * {@inheritdoc} */ public function prepare($data) { return $data; } protected function getElementType(array $typeArray): ?array { if (false === isset($typeArray['params'][0])) { return null; } if (isset($typeArray['params'][1]) && \is_array($typeArray['params'][1])) { return $typeArray['params'][1]; } else { return $typeArray['params'][0]; } } /** * logic according to strval https://www.php.net/manual/en/function.strval.php * "You cannot use strval() on arrays or on objects that do not implement the __toString() method." * * @param mixed $value */ protected function assertValueCanBeCastToString($value): void { if (is_array($value)) { throw new NonStringCastableTypeException($value); } if (is_object($value) && !method_exists($value, '__toString')) { throw new NonStringCastableTypeException($value); } } /** * logic according to intval https://www.php.net/manual/en/function.intval.php * "intval() should not be used on objects, as doing so will emit an E_NOTICE level error and return 1." * * @param mixed $value */ protected function assertValueCanBeCastToInt($value): void { if (is_object($value) && !$value instanceof \SimpleXMLElement) { throw new NonIntCastableTypeException($value); } } /** * logic according to floatval https://www.php.net/manual/en/function.floatval.php * "floatval() should not be used on objects, as doing so will emit an E_NOTICE level error and return 1." * * @param mixed $value */ protected function assertValueCanCastToFloat($value): void { if (is_object($value) && !$value instanceof \SimpleXMLElement) { throw new NonFloatCastableTypeException($value); } } protected function mapRoundMode(?string $roundMode = null): int { switch ($roundMode) { case 'HALF_DOWN': $roundMode = PHP_ROUND_HALF_DOWN; break; case 'HALF_EVEN': $roundMode = PHP_ROUND_HALF_EVEN; break; case 'HALF_ODD': $roundMode = PHP_ROUND_HALF_ODD; break; case 'HALF_UP': default: $roundMode = PHP_ROUND_HALF_UP; } return $roundMode; } }