[Console] Define isVerbose(), etc. methods in OutputInterface
This commit is contained in:
parent
37909a407f
commit
1ac95b141e
@ -75,6 +75,34 @@ interface OutputInterface
|
|||||||
*/
|
*/
|
||||||
public function getVerbosity();
|
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.
|
* Sets the decorated flag.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user