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 : 18.218.60.55
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
symfony /
console /
Helper /
Delete
Unzip
Name
Size
Permission
Date
Action
DebugFormatterHelper.php
4.08
KB
-rw-r--r--
2018-11-27 09:00
DescriptorHelper.php
2.55
KB
-rw-r--r--
2018-11-27 09:00
FormatterHelper.php
2.89
KB
-rw-r--r--
2018-11-27 09:00
Helper.php
3.72
KB
-rw-r--r--
2018-11-27 09:00
HelperInterface.php
880
B
-rw-r--r--
2018-11-27 09:00
HelperSet.php
2.45
KB
-rw-r--r--
2018-11-27 09:00
InputAwareHelper.php
747
B
-rw-r--r--
2018-11-27 09:00
ProcessHelper.php
5.51
KB
-rw-r--r--
2018-11-27 09:00
ProgressBar.php
15.72
KB
-rw-r--r--
2018-11-27 09:00
ProgressIndicator.php
7.74
KB
-rw-r--r--
2018-11-27 09:00
QuestionHelper.php
13.19
KB
-rw-r--r--
2018-11-27 09:00
SymfonyQuestionHelper.php
2.97
KB
-rw-r--r--
2018-11-27 09:00
Table.php
25.09
KB
-rw-r--r--
2018-11-27 09:00
TableCell.php
1.45
KB
-rw-r--r--
2018-11-27 09:00
TableRows.php
583
B
-rw-r--r--
2018-11-27 09:00
TableSeparator.php
536
B
-rw-r--r--
2018-11-27 09:00
TableStyle.php
15.19
KB
-rw-r--r--
2018-11-27 09:00
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\Component\Console\Helper; use Symfony\Component\Console\Formatter\OutputFormatter; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Question\ChoiceQuestion; use Symfony\Component\Console\Question\ConfirmationQuestion; use Symfony\Component\Console\Question\Question; use Symfony\Component\Console\Style\SymfonyStyle; /** * Symfony Style Guide compliant question helper. * * @author Kevin Bond <kevinbond@gmail.com> */ class SymfonyQuestionHelper extends QuestionHelper { /** * {@inheritdoc} */ protected function writePrompt(OutputInterface $output, Question $question) { $text = OutputFormatter::escapeTrailingBackslash($question->getQuestion()); $default = $question->getDefault(); switch (true) { case null === $default: $text = sprintf(' <info>%s</info>:', $text); break; case $question instanceof ConfirmationQuestion: $text = sprintf(' <info>%s (yes/no)</info> [<comment>%s</comment>]:', $text, $default ? 'yes' : 'no'); break; case $question instanceof ChoiceQuestion && $question->isMultiselect(): $choices = $question->getChoices(); $default = explode(',', $default); foreach ($default as $key => $value) { $default[$key] = $choices[trim($value)]; } $text = sprintf(' <info>%s</info> [<comment>%s</comment>]:', $text, OutputFormatter::escape(implode(', ', $default))); break; case $question instanceof ChoiceQuestion: $choices = $question->getChoices(); $text = sprintf(' <info>%s</info> [<comment>%s</comment>]:', $text, OutputFormatter::escape(isset($choices[$default]) ? $choices[$default] : $default)); break; default: $text = sprintf(' <info>%s</info> [<comment>%s</comment>]:', $text, OutputFormatter::escape($default)); } $output->writeln($text); if ($question instanceof ChoiceQuestion) { $width = max(array_map('strlen', array_keys($question->getChoices()))); foreach ($question->getChoices() as $key => $value) { $output->writeln(sprintf(" [<comment>%-${width}s</comment>] %s", $key, $value)); } } $output->write(' > '); } /** * {@inheritdoc} */ protected function writeError(OutputInterface $output, \Exception $error) { if ($output instanceof SymfonyStyle) { $output->newLine(); $output->error($error->getMessage()); return; } parent::writeError($output, $error); } }