8000 [Console] Add methods for check verbosity of the output by peter-gribanov · Pull Request #11760 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Console] Add methods for check verbosity of the output #11760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add methods for check verbosity of the output
  • Loading branch information
peter-gribanov committed Aug 25, 2014
commit 88fb8dc77986a93d53cec70fbcdb6f40b2f22c62
37 changes: 37 additions & 0 deletions src/Symfony/Component/Console/Output/OutputInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,43 @@ public function setVerbosity($level);
*/
public function getVerbosity();


/**
* The current verbosity of the output is quiet
*
* @return bool
*
* @api
*/
public function isQuiet();

/**
* The current verbosity of the output is verbose
*
* @return bool
*
* @api
*/
public function isVerbose();

/**
* The current verbosity of the output is very verbose
*
* @return bool
*
* @api
*/
public function isVeryVerbose();

/**
* The current verbosity of the output is debug
*
* @return bool
*
* @api
*/
public function isDebug();

/**
* Sets the decorated flag.
*
Expand Down
0