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.149.25.222
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-bundle /
Delete
Unzip
Name
Size
Permission
Date
Action
Cache
[ DIR ]
drwxrwxr-x
2021-12-01 12:22
ContextFactory
[ DIR ]
drwxrwxr-x
2021-12-01 12:22
Debug
[ DIR ]
drwxrwxr-x
2021-12-01 12:22
DependencyInjection
[ DIR ]
drwxrwxr-x
2021-12-01 12:22
ExpressionLanguage
[ DIR ]
drwxrwxr-x
2021-12-01 12:22
Resources
[ DIR ]
drwxrwxr-x
2021-12-01 12:22
Serializer
[ DIR ]
drwxrwxr-x
2021-12-01 12:22
Templating
[ DIR ]
drwxrwxr-x
2021-12-01 12:22
CHANGELOG.md
81.87
KB
-rw-rw-r--
2021-12-01 12:22
CONTRIBUTING.md
2.57
KB
-rw-rw-r--
2021-12-01 12:22
JMSSerializerBundle.php
2.53
KB
-rw-rw-r--
2021-12-01 12:22
LICENSE
1.04
KB
-rw-rw-r--
2021-12-01 12:22
META.md
251
B
-rw-rw-r--
2021-12-01 12:22
README.md
1.14
KB
-rw-rw-r--
2021-12-01 12:22
UPGRADING.md
4.64
KB
-rw-rw-r--
2021-12-01 12:22
composer.json
2.15
KB
-rw-rw-r--
2021-12-01 12:22
Save
Rename
<?php namespace JMS\SerializerBundle; use JMS\DiExtraBundle\DependencyInjection\Compiler\LazyServiceMapPass; use JMS\SerializerBundle\DependencyInjection\Compiler\CustomHandlersLocatorPass; use JMS\SerializerBundle\DependencyInjection\Compiler\CustomHandlersPass; use JMS\SerializerBundle\DependencyInjection\Compiler\DoctrinePass; use JMS\SerializerBundle\DependencyInjection\Compiler\ExpressionFunctionProviderPass; use JMS\SerializerBundle\DependencyInjection\Compiler\FormErrorHandlerTranslationDomainPass; use JMS\SerializerBundle\DependencyInjection\Compiler\RegisterEventListenersAndSubscribersPass; use JMS\SerializerBundle\DependencyInjection\Compiler\ServiceMapPass; use JMS\SerializerBundle\DependencyInjection\Compiler\TwigExtensionPass; use Symfony\Component\DependencyInjection\Compiler\PassConfig; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; class JMSSerializerBundle extends Bundle { public function build(ContainerBuilder $builder) { $builder->addCompilerPass($this->getServiceMapPass('jms_serializer.serialization_visitor', 'format', function (ContainerBuilder $container, $def) { $container->getDefinition('jms_serializer.serializer')->replaceArgument(2, $def); } )); $builder->addCompilerPass($this->getServiceMapPass('jms_serializer.deserialization_visitor', 'format', function (ContainerBuilder $container, $def) { $container->getDefinition('jms_serializer.serializer')->replaceArgument(3, $def); } )); // Should run before Symfony\Bundle\TwigBundle\DependencyInjection\Compiler\TwigEnvironmentPass $builder->addCompilerPass(new TwigExtensionPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 10); $builder->addCompilerPass(new FormErrorHandlerTranslationDomainPass()); $builder->addCompilerPass(new ExpressionFunctionProviderPass()); $builder->addCompilerPass(new DoctrinePass()); $builder->addCompilerPass(new RegisterEventListenersAndSubscribersPass(), PassConfig::TYPE_OPTIMIZE); $builder->addCompilerPass(new CustomHandlersPass(), PassConfig::TYPE_OPTIMIZE); } private function getServiceMapPass($tagName, $keyAttributeName, $callable) { if (class_exists('JMS\DiExtraBundle\DependencyInjection\Compiler\LazyServiceMapPass')) { return new LazyServiceMapPass($tagName, $keyAttributeName, $callable); } return new ServiceMapPass($tagName, $keyAttributeName, $callable); } }