Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ac95b1

Browse files
frnefabpot
frne
authored andcommitted
[Console] Define isVerbose(), etc. methods in OutputInterface
1 parent 37909a4 commit 1ac95b1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/Symfony/Component/Console/Output/OutputInterface.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,34 @@ public function setVerbosity($level);
7575
*/
7676
public function getVerbosity();
7777

78+
/**
79+
* Returns whether verbosity is quiet (-q)
80+
*
81+
* @return bool true if verbosity is set to VERBOSITY_QUIET, false otherwise
82+
*/
83+
public function isQuiet();
84+
85+
/**
86+
* Returns whether verbosity is verbose (-v)
87+
*
88+
* @return bool true if verbosity is set to VERBOSITY_VERBOSE, false otherwise
89+
*/
90+
public function isVerbose();
91+
92+
/**
93+
* Returns whether verbosity is very verbose (-vv)
94+
*
95+
* @return bool true if verbosity is set to VERBOSITY_VERY_VERBOSE, false otherwise
96+
*/
97+
public function isVeryVerbose();
98+
99+
/**
100+
* Returns whether verbosity is debug (-vvv)
101+
*
102+
* @return bool true if verbosity is set to VERBOSITY_DEBUG, false otherwise
103+
*/
104+
public function isDebug();
105+
78106
/**
79107
* Sets the decorated flag.
80108
*

0 commit comments

Comments
 (0)