From 43f2a53f1929403fd3356c2a1136d68adc00ae84 Mon Sep 17 00:00:00 2001 From: frne Date: Tue, 23 Dec 2014 13:19:45 +0100 Subject: [PATCH 1/2] Added isVerbose(), isVeryVerbose(), isQuiet() and isDebug() methods to OutputInterface --- .../Console/Output/OutputInterface.php | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/Symfony/Component/Console/Output/OutputInterface.php b/src/Symfony/Component/Console/Output/OutputInterface.php index f7f30636feb09..9e01e5d4c080f 100644 --- a/src/Symfony/Component/Console/Output/OutputInterface.php +++ b/src/Symfony/Component/Console/Output/OutputInterface.php @@ -75,6 +75,42 @@ public function setVerbosity($level); */ public function getVerbosity(); + /** + * Returns whether verbosity is quiet (-q) + * + * @return bool true if verbosity is set to VERBOSITY_QUIET, false otherwise + * + * @api + */ + public function isQuiet(); + + /** + * Returns whether verbosity is verbose (-v) + * + * @return bool true if verbosity is set to VERBOSITY_VERBOSE, false otherwise + * + * @api + */ + public function isVerbose(); + + /** + * Returns whether verbosity is very verbose (-vv) + * + * @return bool true if verbosity is set to VERBOSITY_VERY_VERBOSE, false otherwise + * + * @api + */ + public function isVeryVerbose(); + + /** + * Returns whether verbosity is debug (-vvv) + * + * @return bool true if verbosity is set to VERBOSITY_DEBUG, false otherwise + * + * @api + */ + public function isDebug(); + /** * Sets the decorated flag. * From dd206f67bf983d0c095adf96dd5b1cdf70e3387a Mon Sep 17 00:00:00 2001 From: Frank Neff Date: Sat, 3 Jan 2015 18:20:06 +0100 Subject: [PATCH 2/2] Removed api annotations --- src/Symfony/Component/Console/Output/OutputInterface.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Symfony/Component/Console/Output/OutputInterface.php b/src/Symfony/Component/Console/Output/OutputInterface.php index 9e01e5d4c080f..f01f47073bcb2 100644 --- a/src/Symfony/Component/Console/Output/OutputInterface.php +++ b/src/Symfony/Component/Console/Output/OutputInterface.php @@ -79,8 +79,6 @@ public function getVerbosity(); * Returns whether verbosity is quiet (-q) * * @return bool true if verbosity is set to VERBOSITY_QUIET, false otherwise - * - * @api */ public function isQuiet(); @@ -88,8 +86,6 @@ public function isQuiet(); * Returns whether verbosity is verbose (-v) * * @return bool true if verbosity is set to VERBOSITY_VERBOSE, false otherwise - * - * @api */ public function isVerbose(); @@ -97,8 +93,6 @@ public function isVerbose(); * Returns whether verbosity is very verbose (-vv) * * @return bool true if verbosity is set to VERBOSITY_VERY_VERBOSE, false otherwise - * - * @api */ public function isVeryVerbose(); @@ -106,8 +100,6 @@ public function isVeryVerbose(); * Returns whether verbosity is debug (-vvv) * * @return bool true if verbosity is set to VERBOSITY_DEBUG, false otherwise - * - * @api */ public function isDebug();