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.223.33.204
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\Exception\InvalidArgumentException; use Psr\Container\ContainerInterface as PsrContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; final class LazyHandlerRegistry extends HandlerRegistry { /** * @var PsrContainerInterface|ContainerInterface */ private $container; /** * @var array */ private $initializedHandlers = []; /** * @param PsrContainerInterface|ContainerInterface $container * @param array $handlers */ public function __construct($container, array $handlers = []) { if (!$container instanceof PsrContainerInterface && !$container instanceof ContainerInterface) { throw new InvalidArgumentException(sprintf('The container must be an instance of %s or %s (%s given).', PsrContainerInterface::class, ContainerInterface::class, \is_object($container) ? \get_class($container) : \gettype($container))); } parent::__construct($handlers); $this->container = $container; } /** * {@inheritdoc} */ public function registerHandler(int $direction, string $typeName, string $format, $handler): void { parent::registerHandler($direction, $typeName, $format, $handler); unset($this->initializedHandlers[$direction][$typeName][$format]); } /** * {@inheritdoc} */ public function getHandler(int $direction, string $typeName, string $format) { if (isset($this->initializedHandlers[$direction][$typeName][$format])) { return $this->initializedHandlers[$direction][$typeName][$format]; } if (!isset($this->handlers[$direction][$typeName][$format])) { return null; } $handler = $this->handlers[$direction][$typeName][$format]; if (\is_array($handler) && \is_string($handler[0]) && $this->container->has($handler[0])) { $handler[0] = $this->container->get($handler[0]); } return $this->initializedHandlers[$direction][$typeName][$format] = $handler; } }