REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.31 KB
Close
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/symfony/console/Completion/Output/ZshCompletionOutput.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\Completion\Output; use RectorPrefix202411\Symfony\Component\Console\Completion\CompletionSuggestions; use RectorPrefix202411\Symfony\Component\Console\Output\OutputInterface; /** * @author Jitendra A <adhocore@gmail.com> */ class ZshCompletionOutput implements CompletionOutputInterface { public function write(CompletionSuggestions $suggestions, OutputInterface $output) : void { $values = []; foreach ($suggestions->getValueSuggestions() as $value) { $values[] = $value->getValue() . ($value->getDescription() ? "\t" . $value->getDescription() : ''); } foreach ($suggestions->getOptionSuggestions() as $option) { $values[] = '--' . $option->getName() . ($option->getDescription() ? "\t" . $option->getDescription() : ''); if ($option->isNegatable()) { $values[] = '--no-' . $option->getName() . ($option->getDescription() ? "\t" . $option->getDescription() : ''); } } $output->write(\implode("\n", $values) . "\n"); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
BashCompletionOutput.php
1.02 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
CompletionOutputInterface.php
760 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
FishCompletionOutput.php
1.03 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
ZshCompletionOutput.php
1.31 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
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).