Skip to content

Commit 4c801a4

Browse files
committed
Remove convenience method documentation
1 parent 6d00c3d commit 4c801a4

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy