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 : 216.73.216.203
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
symfony /
flex /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Command
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Configurator
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Event
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Unpack
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Update
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Cache.php
5.28
KB
-rw-rw-r--
2022-08-07 09:39
ComposerRepository.php
1.49
KB
-rw-rw-r--
2022-08-07 09:39
Configurator.php
3.19
KB
-rw-rw-r--
2022-08-07 09:39
CurlDownloader.php
8.5
KB
-rw-rw-r--
2022-08-07 09:39
Downloader.php
18.51
KB
-rw-rw-r--
2022-08-07 09:39
Flex.php
43.66
KB
-rw-rw-r--
2022-08-07 09:39
GithubApi.php
6.04
KB
-rw-rw-r--
2022-08-07 09:39
InformationOperation.php
1.86
KB
-rw-rw-r--
2022-08-07 09:39
Lock.php
1.83
KB
-rw-rw-r--
2022-08-07 09:39
Options.php
2.29
KB
-rw-rw-r--
2022-08-07 09:39
PackageFilter.php
5.12
KB
-rw-rw-r--
2022-08-07 09:39
PackageJsonSynchronizer.php
8.98
KB
-rw-rw-r--
2022-08-07 09:39
PackageResolver.php
5.17
KB
-rw-rw-r--
2022-08-07 09:39
ParallelDownloader.php
9.29
KB
-rw-rw-r--
2022-08-07 09:39
Path.php
966
B
-rw-rw-r--
2022-08-07 09:39
Recipe.php
2.9
KB
-rw-rw-r--
2022-08-07 09:39
Response.php
1.95
KB
-rw-rw-r--
2022-08-07 09:39
ScriptExecutor.php
4.74
KB
-rw-rw-r--
2022-08-07 09:39
SymfonyBundle.php
3.67
KB
-rw-rw-r--
2022-08-07 09:39
TruncatedComposerRepository.php
1.51
KB
-rw-rw-r--
2022-08-07 09:39
Unpacker.php
8.61
KB
-rw-rw-r--
2022-08-07 09:39
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Flex; use Composer\Composer; use Composer\IO\IOInterface; use Symfony\Flex\Configurator\AbstractConfigurator; use Symfony\Flex\Update\RecipeUpdate; /** * @author Fabien Potencier <fabien@symfony.com> */ class Configurator { private $composer; private $io; private $options; private $configurators; private $cache; public function __construct(Composer $composer, IOInterface $io, Options $options) { $this->composer = $composer; $this->io = $io; $this->options = $options; // ordered list of configurators $this->configurators = [ 'bundles' => Configurator\BundlesConfigurator::class, 'copy-from-recipe' => Configurator\CopyFromRecipeConfigurator::class, 'copy-from-package' => Configurator\CopyFromPackageConfigurator::class, 'env' => Configurator\EnvConfigurator::class, 'container' => Configurator\ContainerConfigurator::class, 'makefile' => Configurator\MakefileConfigurator::class, 'composer-scripts' => Configurator\ComposerScriptsConfigurator::class, 'gitignore' => Configurator\GitignoreConfigurator::class, 'dockerfile' => Configurator\DockerfileConfigurator::class, 'docker-compose' => Configurator\DockerComposeConfigurator::class, ]; } public function install(Recipe $recipe, Lock $lock, array $options = []) { $manifest = $recipe->getManifest(); foreach (array_keys($this->configurators) as $key) { if (isset($manifest[$key])) { $this->get($key)->configure($recipe, $manifest[$key], $lock, $options); } } } public function populateUpdate(RecipeUpdate $recipeUpdate): void { $originalManifest = $recipeUpdate->getOriginalRecipe()->getManifest(); $newManifest = $recipeUpdate->getNewRecipe()->getManifest(); foreach (array_keys($this->configurators) as $key) { if (!isset($originalManifest[$key]) && !isset($newManifest[$key])) { continue; } $this->get($key)->update($recipeUpdate, $originalManifest[$key] ?? [], $newManifest[$key] ?? []); } } public function unconfigure(Recipe $recipe, Lock $lock) { $manifest = $recipe->getManifest(); foreach (array_keys($this->configurators) as $key) { if (isset($manifest[$key])) { $this->get($key)->unconfigure($recipe, $manifest[$key], $lock); } } } private function get($key): AbstractConfigurator { if (!isset($this->configurators[$key])) { throw new \InvalidArgumentException(sprintf('Unknown configurator "%s".', $key)); } if (isset($this->cache[$key])) { return $this->cache[$key]; } $class = $this->configurators[$key]; return $this->cache[$key] = new $class($this->composer, $this->io, $this->options); } }