feature #14220 [3.0][Console][OutputStyle] Implements verbosity levels methods (ogizanagi)

This PR was merged into the 3.0-dev branch.

Discussion
----------

[3.0][Console][OutputStyle] Implements verbosity levels methods

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A - Travis build for #14032
| License       | MIT

Implements the verbosity level methods from `OutputInterface` for the new `OutputStyle` abstract class in 3.0 branch.
Fixes Travis builds with `deps=high` env var for #14032 PR and future console style updates.

=========
Related to: #14032, #14057, #14138, #14132, #14172, ...

Commits
-------

a30f507 [Console] [OutputStyle] Implements verbosity methods
This commit is contained in:
Fabien Potencier 2015-04-07 12:29:36 +02:00
commit 630a982913

View File

@ -113,4 +113,36 @@ abstract class OutputStyle implements OutputInterface, StyleInterface
{
return $this->output->getFormatter();
}
/**
* {@inheritdoc}
*/
public function isQuiet()
{
return $this->output->isQuiet();
}
/**
* {@inheritdoc}
*/
public function isVerbose()
{
return $this->output->isVerbose();
}
/**
* {@inheritdoc}
*/
public function isVeryVerbose()
{
return $this->output->isVeryVerbose();
}
/**
* {@inheritdoc}
*/
public function isDebug()
{
return $this->output->isDebug();
}
}