Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a3d165

Browse files
committed
minor#16476 [Console] Add note about URL cutting of default output wrapper (fchris82)
This PR was submitted for the 6.1 branch but it was merged into the 6.2 branch instead.Discussion----------[Console] Add note about URL cutting of default output wrapperAdd note about the new output wrapper function. Related MR:symfony/symfony#45318Commits-------0bfa8ac [Console] Add note about URL cutting of default output wrapper
2 parents4952e4c +0bfa8ac commit4a3d165

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎console/style.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,13 @@ User Input Methods
337337
Result Methods
338338
~~~~~~~~~~~~~~
339339

340+
..note::
341+
342+
If you print any URL it won't be broken/cut, it will be clickable - if the terminal provides it. If the "well
343+
formatted output" is more important, you can switch it off::
344+
345+
$io->getOutputWrapper()->setAllowCutUrls(true);
346+
340347
:method:`Symfony\\Component\\Console\\Style\\SymfonyStyle::success`
341348
It displays the given string or array of strings highlighted as a successful
342349
message (with a green background and the ``[OK]`` label). It's meant to be

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp