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 : 13.59.46.202
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 /
console /
Helper /
Delete
Unzip
Name
Size
Permission
Date
Action
DebugFormatterHelper.php
3.32
KB
-rw-rw-r--
2022-07-22 10:42
DescriptorHelper.php
2.43
KB
-rw-rw-r--
2022-07-22 10:42
Dumper.php
1.98
KB
-rw-rw-r--
2022-07-22 10:42
FormatterHelper.php
2.34
KB
-rw-rw-r--
2022-07-22 10:42
Helper.php
4.94
KB
-rw-rw-r--
2022-07-22 10:42
HelperInterface.php
845
B
-rw-rw-r--
2022-07-22 10:42
HelperSet.php
2.52
KB
-rw-rw-r--
2022-07-22 10:42
InputAwareHelper.php
747
B
-rw-rw-r--
2022-07-22 10:42
ProcessHelper.php
4.86
KB
-rw-rw-r--
2022-07-22 10:42
ProgressBar.php
18.25
KB
-rw-rw-r--
2022-07-22 10:42
ProgressIndicator.php
7.05
KB
-rw-rw-r--
2022-07-22 10:42
QuestionHelper.php
19.16
KB
-rw-rw-r--
2022-07-22 10:42
SymfonyQuestionHelper.php
3.2
KB
-rw-rw-r--
2022-07-22 10:42
Table.php
28.99
KB
-rw-rw-r--
2022-07-22 10:42
TableCell.php
1.77
KB
-rw-rw-r--
2022-07-22 10:42
TableCellStyle.php
2.22
KB
-rw-rw-r--
2022-07-22 10:42
TableRows.php
581
B
-rw-rw-r--
2022-07-22 10:42
TableSeparator.php
531
B
-rw-rw-r--
2022-07-22 10:42
TableStyle.php
12.38
KB
-rw-rw-r--
2022-07-22 10:42
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; /** * The Formatter class provides helpers to format messages. * * @author Fabien Potencier <fabien@symfony.com> */ class FormatterHelper extends Helper { /** * Formats a message within a section. * * @return string */ public function formatSection(string $section, string $message, string $style = 'info') { return sprintf('<%s>[%s]</%s> %s', $style, $section, $style, $message); } /** * Formats a message as a block of text. * * @param string|array $messages The message to write in the block * * @return string */ public function formatBlock($messages, string $style, bool $large = false) { if (!\is_array($messages)) { $messages = [$messages]; } $len = 0; $lines = []; foreach ($messages as $message) { $message = OutputFormatter::escape($message); $lines[] = sprintf($large ? ' %s ' : ' %s ', $message); $len = max(self::width($message) + ($large ? 4 : 2), $len); } $messages = $large ? [str_repeat(' ', $len)] : []; for ($i = 0; isset($lines[$i]); ++$i) { $messages[] = $lines[$i].str_repeat(' ', $len - self::width($lines[$i])); } if ($large) { $messages[] = str_repeat(' ', $len); } for ($i = 0; isset($messages[$i]); ++$i) { $messages[$i] = sprintf('<%s>%s</%s>', $style, $messages[$i], $style); } return implode("\n", $messages); } /** * Truncates a message to the given length. * * @return string */ public function truncate(string $message, int $length, string $suffix = '...') { $computedLength = $length - self::width($suffix); if ($computedLength > self::width($message)) { return $message; } return self::substr($message, 0, $length).$suffix; } /** * {@inheritdoc} */ public function getName() { return 'formatter'; } }