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.140.201.179
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
doctrine /
doctrine-bundle /
Delete
Unzip
Name
Size
Permission
Date
Action
Attribute
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
CacheWarmer
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
Command
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
Controller
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
DataCollector
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
Dbal
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
DependencyInjection
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
EventSubscriber
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
Mapping
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
Middleware
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
Orm
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
Repository
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
Resources
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
Twig
[ DIR ]
drwxrwxr-x
2022-06-10 10:55
.doctrine-project.json
2.35
KB
-rw-rw-r--
2022-06-10 10:55
.symfony.bundle.yaml
147
B
-rw-rw-r--
2022-06-10 10:55
ConnectionFactory.php
7.25
KB
-rw-rw-r--
2022-06-10 10:55
DoctrineBundle.php
6.72
KB
-rw-rw-r--
2022-06-10 10:55
LICENSE
1.05
KB
-rw-rw-r--
2022-06-10 10:55
ManagerConfigurator.php
1.84
KB
-rw-rw-r--
2022-06-10 10:55
README.md
1.54
KB
-rw-rw-r--
2022-06-10 10:55
Registry.php
2.42
KB
-rw-rw-r--
2022-06-10 10:55
UPGRADE-1.11.md
1.07
KB
-rw-rw-r--
2022-06-10 10:55
UPGRADE-1.12.md
2.44
KB
-rw-rw-r--
2022-06-10 10:55
UPGRADE-2.0.md
3.74
KB
-rw-rw-r--
2022-06-10 10:55
UPGRADE-2.1.md
2.36
KB
-rw-rw-r--
2022-06-10 10:55
UPGRADE-2.2.md
530
B
-rw-rw-r--
2022-06-10 10:55
UPGRADE-2.3.md
774
B
-rw-rw-r--
2022-06-10 10:55
UPGRADE-2.4.md
402
B
-rw-rw-r--
2022-06-10 10:55
UPGRADE-2.5.md
147
B
-rw-rw-r--
2022-06-10 10:55
UPGRADE-2.6.md
154
B
-rw-rw-r--
2022-06-10 10:55
UPGRADE-3.0.md
152
B
-rw-rw-r--
2022-06-10 10:55
composer.json
2.94
KB
-rw-rw-r--
2022-06-10 10:55
phpcs.xml.dist
1.27
KB
-rw-rw-r--
2022-06-10 10:55
psalm.xml.dist
2.25
KB
-rw-rw-r--
2022-06-10 10:55
Save
Rename
<?php namespace Doctrine\Bundle\DoctrineBundle; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\CacheCompatibilityPass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\CacheSchemaSubscriberPass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\DbalSchemaFilterPass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\EntityListenerPass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\IdGeneratorPass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\MiddlewaresPass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\RemoveLoggingMiddlewarePass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\RemoveProfilerControllerPass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\ServiceRepositoryCompilerPass; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\WellKnownSchemaFilterPass; use Doctrine\Common\Util\ClassUtils; use Doctrine\DBAL\Driver\Middleware; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Proxy\Autoloader; use Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\DoctrineValidationPass; use Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterEventListenersAndSubscribersPass; use Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterUidTypePass; use Symfony\Bridge\Doctrine\DependencyInjection\Security\UserProvider\EntityFactory; use Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension; use Symfony\Component\Console\Application; use Symfony\Component\DependencyInjection\Compiler\PassConfig; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; use function assert; use function class_exists; use function clearstatcache; use function interface_exists; use function spl_autoload_unregister; class DoctrineBundle extends Bundle { /** @var callable|null */ private $autoloader; /** * {@inheritDoc} */ public function build(ContainerBuilder $container) { parent::build($container); $container->addCompilerPass(new RegisterEventListenersAndSubscribersPass('doctrine.connections', 'doctrine.dbal.%s_connection.event_manager', 'doctrine'), PassConfig::TYPE_BEFORE_OPTIMIZATION); if ($container->hasExtension('security')) { $security = $container->getExtension('security'); if ($security instanceof SecurityExtension) { $security->addUserProviderFactory(new EntityFactory('entity', 'doctrine.orm.security.user.provider')); } } $container->addCompilerPass(new CacheCompatibilityPass()); $container->addCompilerPass(new DoctrineValidationPass('orm')); $container->addCompilerPass(new EntityListenerPass()); $container->addCompilerPass(new ServiceRepositoryCompilerPass()); $container->addCompilerPass(new IdGeneratorPass()); $container->addCompilerPass(new WellKnownSchemaFilterPass()); $container->addCompilerPass(new DbalSchemaFilterPass()); $container->addCompilerPass(new CacheSchemaSubscriberPass(), PassConfig::TYPE_BEFORE_REMOVING, -10); $container->addCompilerPass(new RemoveProfilerControllerPass()); /** @psalm-suppress UndefinedClass */ if (interface_exists(Middleware::class)) { $container->addCompilerPass(new RemoveLoggingMiddlewarePass()); $container->addCompilerPass(new MiddlewaresPass()); } if (! class_exists(RegisterUidTypePass::class)) { return; } $container->addCompilerPass(new RegisterUidTypePass()); } /** * {@inheritDoc} */ public function boot() { // Register an autoloader for proxies to avoid issues when unserializing them // when the ORM is used. if (! $this->container->hasParameter('doctrine.orm.proxy_namespace')) { return; } $namespace = (string) $this->container->getParameter('doctrine.orm.proxy_namespace'); $dir = (string) $this->container->getParameter('doctrine.orm.proxy_dir'); $proxyGenerator = null; if ($this->container->getParameter('doctrine.orm.auto_generate_proxy_classes')) { // See https://github.com/symfony/symfony/pull/3419 for usage of references $container = &$this->container; $proxyGenerator = static function ($proxyDir, $proxyNamespace, $class) use (&$container): void { $originalClassName = ClassUtils::getRealClass($class); $registry = $container->get('doctrine'); assert($registry instanceof Registry); foreach ($registry->getManagers() as $em) { assert($em instanceof EntityManagerInterface); if (! $em->getConfiguration()->getAutoGenerateProxyClasses()) { continue; } $metadataFactory = $em->getMetadataFactory(); if ($metadataFactory->isTransient($originalClassName)) { continue; } $classMetadata = $metadataFactory->getMetadataFor($originalClassName); $em->getProxyFactory()->generateProxyClasses([$classMetadata]); clearstatcache(true, Autoloader::resolveFile($proxyDir, $proxyNamespace, $class)); break; } }; } $this->autoloader = Autoloader::register($dir, $namespace, $proxyGenerator); } /** * {@inheritDoc} */ public function shutdown() { if ($this->autoloader !== null) { spl_autoload_unregister($this->autoloader); $this->autoloader = null; } // Clear all entity managers to clear references to entities for GC if ($this->container->hasParameter('doctrine.entity_managers')) { foreach ($this->container->getParameter('doctrine.entity_managers') as $id) { if (! $this->container->initialized($id)) { continue; } $this->container->get($id)->clear(); } } // Close all connections to avoid reaching too many connections in the process when booting again later (tests) if (! $this->container->hasParameter('doctrine.connections')) { return; } foreach ($this->container->getParameter('doctrine.connections') as $id) { if (! $this->container->initialized($id)) { continue; } $this->container->get($id)->close(); } } /** * {@inheritDoc} */ public function registerCommands(Application $application) { } }