Skip to content

Commit 9f8630a

Browse files
committed
minor #5443 Added a note about the implementation of the verbosity semantic methods (javiereguiluz)
This PR was submitted for the 2.7 branch but it was merged into the 2.6 branch instead (closes #5443). Discussion ---------- Added a note about the implementation of the verbosity semantic methods | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | 2.6+ | Fixed tickets | #5123 Commits ------- a88d1c6 Reworded a note about BC 28b98b9 Added a note about the implementation of the verbosity semantic methods
2 parents 558b266 + a88d1c6 commit 9f8630a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/console/introduction.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,13 @@ verbosity levels::
223223
// ...
224224
}
225225

226+
.. note::
227+
228+
These semantic methods are defined in the ``OutputInterface`` starting from
229+
Symfony 3.0. In previous Symfony versions they are defined in the different
230+
implementations of the interface (e.g. :class:`Symfony\\Component\\Console\\Output\\Output`)
231+
in order to keep backwards compatibility.
232+
226233
When the quiet level is used, all output is suppressed as the default
227234
:method:`Symfony\\Component\\Console\\Output\\Output::write` method returns
228235
without actually printing.

0 commit comments

Comments
 (0)