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.15.147.225
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 /
maker-bundle /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Command
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Console
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
DependencyInjection
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Docker
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Doctrine
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Event
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Exception
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Maker
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Renderer
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Resources
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Security
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Test
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
Util
[ DIR ]
drwxrwxr-x
2022-05-17 15:46
ApplicationAwareMakerInterface.php
574
B
-rw-rw-r--
2022-05-17 15:46
ConsoleStyle.php
1.08
KB
-rw-rw-r--
2022-05-17 15:46
DependencyBuilder.php
4.1
KB
-rw-rw-r--
2022-05-17 15:46
EventRegistry.php
6.37
KB
-rw-rw-r--
2022-05-17 15:46
FileManager.php
6.66
KB
-rw-rw-r--
2022-05-17 15:46
Generator.php
9.36
KB
-rw-rw-r--
2022-05-17 15:46
GeneratorTwigHelper.php
2.54
KB
-rw-rw-r--
2022-05-17 15:46
InputAwareMakerInterface.php
676
B
-rw-rw-r--
2022-05-17 15:46
InputConfiguration.php
764
B
-rw-rw-r--
2022-05-17 15:46
MakerBundle.php
1.46
KB
-rw-rw-r--
2022-05-17 15:46
MakerInterface.php
1.56
KB
-rw-rw-r--
2022-05-17 15:46
Str.php
6.93
KB
-rw-rw-r--
2022-05-17 15:46
Validator.php
8.52
KB
-rw-rw-r--
2022-05-17 15:46
Save
Rename
<?php /* * This file is part of the Symfony MakerBundle 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\Bundle\MakerBundle; final class DependencyBuilder { private $dependencies = []; private $devDependencies = []; private $minimumPHPVersion = 70100; /** * Add a dependency that will be reported if the given class is missing. * * If the dependency is *optional*, then it will only be reported to * the user if other required dependencies are missing. An example * is the "validator" when trying to work with forms. */ public function addClassDependency(string $class, string $package, bool $required = true, bool $devDependency = false): void { if ($devDependency) { $this->devDependencies[] = [ 'class' => $class, 'name' => $package, 'required' => $required, ]; } else { $this->dependencies[] = [ 'class' => $class, 'name' => $package, 'required' => $required, ]; } } public function requirePHP71(): void { // no-op - MakerBundle now required PHP 7.1 } /** * @internal */ public function getMissingDependencies(): array { return $this->calculateMissingDependencies($this->dependencies); } /** * @internal */ public function getMissingDevDependencies(): array { return $this->calculateMissingDependencies($this->devDependencies); } /** * @internal */ public function getAllRequiredDependencies(): array { return $this->getRequiredDependencyNames($this->dependencies); } /** * @internal */ public function getAllRequiredDevDependencies(): array { return $this->getRequiredDependencyNames($this->devDependencies); } /** * @internal */ public function getMissingPackagesMessage(string $commandName, $message = null): string { $packages = $this->getMissingDependencies(); $packagesDev = $this->getMissingDevDependencies(); if (empty($packages) && empty($packagesDev)) { return ''; } $packagesCount = \count($packages) + \count($packagesDev); $message = sprintf( "Missing package%s: %s, run:\n", $packagesCount > 1 ? 's' : '', $message ?: sprintf('to use the %s command', $commandName) ); if (!empty($packages)) { $message .= sprintf("\ncomposer require %s", implode(' ', $packages)); } if (!empty($packagesDev)) { $message .= sprintf("\ncomposer require %s --dev", implode(' ', $packagesDev)); } return $message; } /** * @internal */ public function isPhpVersionSatisfied(): bool { return \PHP_VERSION_ID >= $this->minimumPHPVersion; } private function getRequiredDependencyNames(array $dependencies): array { $packages = []; foreach ($dependencies as $package) { if (!$package['required']) { continue; } $packages[] = $package['name']; } return array_unique($packages); } private function calculateMissingDependencies(array $dependencies): array { $missingPackages = []; $missingOptionalPackages = []; foreach ($dependencies as $package) { if (class_exists($package['class']) || interface_exists($package['class']) || trait_exists($package['class'])) { continue; } if (true === $package['required']) { $missingPackages[] = $package['name']; } else { $missingOptionalPackages[] = $package['name']; } } if (empty($missingPackages)) { return []; } return array_unique(array_merge($missingPackages, $missingOptionalPackages)); } }