From 1ac95b141e3e698b7bb977c08e1f397e5b833202 Mon Sep 17 00:00:00 2001 From: frne Date: Tue, 23 Dec 2014 13:19:45 +0100 Subject: [PATCH] [Console] Define isVerbose(), etc. methods in OutputInterface --- .../Console/Output/OutputInterface.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/Symfony/Component/Console/Output/OutputInterface.php b/src/Symfony/Component/Console/Output/OutputInterface.php index f7f30636fe..f01f47073b 100644 --- a/src/Symfony/Component/Console/Output/OutputInterface.php +++ b/src/Symfony/Component/Console/Output/OutputInterface.php @@ -75,6 +75,34 @@ interface OutputInterface */ public function getVerbosity(); + /** + * Returns whether verbosity is quiet (-q) + * + * @return bool true if verbosity is set to VERBOSITY_QUIET, false otherwise + */ + public function isQuiet(); + + /** + * Returns whether verbosity is verbose (-v) + * + * @return bool true if verbosity is set to VERBOSITY_VERBOSE, false otherwise + */ + public function isVerbose(); + + /** + * Returns whether verbosity is very verbose (-vv) + * + * @return bool true if verbosity is set to VERBOSITY_VERY_VERBOSE, false otherwise + */ + public function isVeryVerbose(); + + /** + * Returns whether verbosity is debug (-vvv) + * + * @return bool true if verbosity is set to VERBOSITY_DEBUG, false otherwise + */ + public function isDebug(); + /** * Sets the decorated flag. *