REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.23 KB
Close
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/symfony/console/Formatter/NullOutputFormatter.php
Text
Base64
<?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 RectorPrefix202411\Symfony\Component\Console\Formatter; /** * @author Tien Xuan Vo <tien.xuan.vo@gmail.com> */ final class NullOutputFormatter implements OutputFormatterInterface { /** * @var \Symfony\Component\Console\Formatter\NullOutputFormatterStyle */ private $style; public function format(?string $message) : ?string { return null; } public function getStyle(string $name) : OutputFormatterStyleInterface { // to comply with the interface we must return a OutputFormatterStyleInterface return $this->style = $this->style ?? new NullOutputFormatterStyle(); } public function hasStyle(string $name) : bool { return \false; } public function isDecorated() : bool { return \false; } public function setDecorated(bool $decorated) : void { // do nothing } public function setStyle(string $name, OutputFormatterStyleInterface $style) : void { // do nothing } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 8
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
NullOutputFormatter.php
1.23 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
NullOutputFormatterStyle.php
1.36 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
OutputFormatter.php
8.25 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
OutputFormatterInterface.php
1.29 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
OutputFormatterStyle.php
3.46 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
OutputFormatterStyleInterface.php
1.20 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
OutputFormatterStyleStack.php
2.62 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
WrappableOutputFormatterInterface.php
732 B
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).