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.135.201.190
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
symfony /
console /
Helper /
Delete
Unzip
Name
Size
Permission
Date
Action
DebugFormatterHelper.php
3.32
KB
-rw-r--r--
2020-11-17 16:24
DescriptorHelper.php
2.34
KB
-rw-r--r--
2020-11-17 16:24
Dumper.php
1.98
KB
-rw-r--r--
2020-11-17 16:24
FormatterHelper.php
2.38
KB
-rw-r--r--
2020-11-17 16:24
Helper.php
3.49
KB
-rw-r--r--
2020-11-17 16:24
HelperInterface.php
880
B
-rw-r--r--
2020-11-17 16:24
HelperSet.php
2.21
KB
-rw-r--r--
2020-11-17 16:24
InputAwareHelper.php
747
B
-rw-r--r--
2020-11-17 16:24
ProcessHelper.php
4.97
KB
-rw-r--r--
2020-11-17 16:24
ProgressBar.php
17.36
KB
-rw-r--r--
2020-11-17 16:24
ProgressIndicator.php
7.28
KB
-rw-r--r--
2020-11-17 16:24
QuestionHelper.php
16
KB
-rw-r--r--
2020-11-17 16:24
SymfonyQuestionHelper.php
2.87
KB
-rw-r--r--
2020-11-17 16:24
Table.php
26.6
KB
-rw-r--r--
2020-11-17 16:24
TableCell.php
1.44
KB
-rw-r--r--
2020-11-17 16:24
TableRows.php
597
B
-rw-r--r--
2020-11-17 16:24
TableSeparator.php
531
B
-rw-r--r--
2020-11-17 16:24
TableStyle.php
12.23
KB
-rw-r--r--
2020-11-17 16:24
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 The format section */ 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 The formatter message */ 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::strlen($message) + ($large ? 4 : 2), $len); } $messages = $large ? [str_repeat(' ', $len)] : []; for ($i = 0; isset($lines[$i]); ++$i) { $messages[] = $lines[$i].str_repeat(' ', $len - self::strlen($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::strlen($suffix); if ($computedLength > self::strlen($message)) { return $message; } return self::substr($message, 0, $length).$suffix; } /** * {@inheritdoc} */ public function getName() { return 'formatter'; } }