Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
Symfony /
Component /
Console /
Helper /
Delete
Unzip
Name
Size
Permission
Date
Action
DebugFormatterHelper.php
4.08
KB
-rw-r--r--
2016-06-06 18:05
DescriptorHelper.php
2.59
KB
-rw-r--r--
2016-06-06 18:05
DialogHelper.php
17.19
KB
-rw-r--r--
2016-06-06 18:05
FormatterHelper.php
2.27
KB
-rw-r--r--
2016-06-06 18:05
Helper.php
3.19
KB
-rw-r--r--
2016-06-06 18:05
HelperInterface.php
943
B
-rw-r--r--
2016-06-06 18:05
HelperSet.php
3.43
KB
-rw-r--r--
2016-06-06 18:05
InputAwareHelper.php
747
B
-rw-r--r--
2016-06-06 18:05
ProcessHelper.php
5
KB
-rw-r--r--
2016-06-06 18:05
ProgressBar.php
16.99
KB
-rw-r--r--
2016-06-06 18:05
ProgressHelper.php
12.36
KB
-rw-r--r--
2016-06-06 18:05
ProgressIndicator.php
9.08
KB
-rw-r--r--
2016-06-06 18:05
QuestionHelper.php
13.17
KB
-rw-r--r--
2016-06-06 18:05
SymfonyQuestionHelper.php
3.05
KB
-rw-r--r--
2016-06-06 18:05
Table.php
18.32
KB
-rw-r--r--
2019-11-13 20:36
TableCell.php
1.58
KB
-rw-r--r--
2016-06-06 18:05
TableHelper.php
6.11
KB
-rw-r--r--
2016-06-06 18:05
TableSeparator.php
610
B
-rw-r--r--
2016-06-06 18:05
TableStyle.php
5.18
KB
-rw-r--r--
2016-06-06 18:05
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. * * @param string $section The section name * @param string $message The message * @param string $style The style to apply to the section * * @return string The format section */ public function formatSection($section, $message, $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 * @param string $style The style to apply to the whole block * @param bool $large Whether to return a large block * * @return string The formatter message */ public function formatBlock($messages, $style, $large = false) { if (!is_array($messages)) { $messages = array($messages); } $len = 0; $lines = array(); foreach ($messages as $message) { $message = OutputFormatter::escape($message); $lines[] = sprintf($large ? ' %s ' : ' %s ', $message); $len = max($this->strlen($message) + ($large ? 4 : 2), $len); } $messages = $large ? array(str_repeat(' ', $len)) : array(); for ($i = 0; isset($lines[$i]); ++$i) { $messages[] = $lines[$i].str_repeat(' ', $len - $this->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); } /** * {@inheritdoc} */ public function getName() { return 'formatter'; } }