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

Commit4c801a4

Browse files
committed
Remove convenience method documentation
1 parent6d00c3d commit4c801a4

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

‎components/console/introduction.rst‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -198,32 +198,6 @@ level. For example::
198198
$output->writeln(...);
199199
}
200200

201-
..versionadded::2.4
202-
The:method:`Symfony\\Component\\Console\\Output\\Output::isQuiet`,
203-
:method:`Symfony\\Component\\Console\\Output\\Output::isVerbose`,
204-
:method:`Symfony\\Component\\Console\\Output\\Output::isVeryVerbose` and
205-
:method:`Symfony\\Component\\Console\\Output\\Output::isDebug`
206-
methods were introduced in Symfony 2.4
207-
208-
There are also more semantic methods you can use to test for each of the
209-
verbosity levels::
210-
211-
if ($output->isQuiet()) {
212-
// ...
213-
}
214-
215-
if ($output->isVerbose()) {
216-
// ...
217-
}
218-
219-
if ($output->isVeryVerbose()) {
220-
// ...
221-
}
222-
223-
if ($output->isDebug()) {
224-
// ...
225-
}
226-
227201
When the quiet level is used, all output is suppressed as the default
228202
:method:`Symfony\\Component\\Console\\Output\\Output::write` method returns
229203
without actually printing.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp