From 961561368e7c069f639f51ac8e8616177a631d91 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 26 Jun 2015 10:26:14 +0200 Subject: [PATCH 1/2] Added a note about the implementation of the verbosity semantic methods --- components/console/introduction.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/console/introduction.rst b/components/console/introduction.rst index 139bb25bbd5..fd2a74ca8dc 100644 --- a/components/console/introduction.rst +++ b/components/console/introduction.rst @@ -223,6 +223,13 @@ verbosity levels:: // ... } +.. note:: + + For backwards compatibility reasons, these semantic methods do not exist in + the ``OutputInterface`` class until Symfony 3.0. They are defined in the + different implementations of the interface + (e.g. :class:`Symfony\\Component\\Console\\Output\\Output`). + When the quiet level is used, all output is suppressed as the default :method:`Symfony\\Component\\Console\\Output\\Output::write` method returns without actually printing. From 8e723719b5318495fb87527452c21a1ab9f3675a Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 30 Jun 2015 16:09:38 +0200 Subject: [PATCH 2/2] Reworded a note about BC --- components/console/introduction.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/console/introduction.rst b/components/console/introduction.rst index fd2a74ca8dc..9dab6a0e9e2 100644 --- a/components/console/introduction.rst +++ b/components/console/introduction.rst @@ -225,10 +225,10 @@ verbosity levels:: .. note:: - For backwards compatibility reasons, these semantic methods do not exist in - the ``OutputInterface`` class until Symfony 3.0. They are defined in the - different implementations of the interface - (e.g. :class:`Symfony\\Component\\Console\\Output\\Output`). + These semantic methods are defined in the ``OutputInterface`` starting from + Symfony 3.0. In previous Symfony versions they are defined in the different + implementations of the interface (e.g. :class:`Symfony\\Component\\Console\\Output\\Output`) + in order to keep backwards compatibility. When the quiet level is used, all output is suppressed as the default :method:`Symfony\\Component\\Console\\Output\\Output::write` method returns