Skip to content

Commit 630a982

Browse files
committed
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
2 parents be38449 + a30f507 commit 630a982

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/Symfony/Component/Console/Style/OutputStyle.php

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,36 @@ public function getFormatter()
113113
{
114114
return $this->output->getFormatter();
115115
}
116+
117+
/**
118+
* {@inheritdoc}
119+
*/
120+
public function isQuiet()
121+
{
122+
return $this->output->isQuiet();
123+
}
124+
125+
/**
126+
* {@inheritdoc}
127+
*/
128+
public function isVerbose()
129+
{
130+
return $this->output->isVerbose();
131+
}
132+
133+
/**
134+
* {@inheritdoc}
135+
*/
136+
public function isVeryVerbose()
137+
{
138+
return $this->output->isVeryVerbose();
139+
}
140+
141+
/**
142+
* {@inheritdoc}
143+
*/
144+
public function isDebug()
145+
{
146+
return $this->output->isDebug();
147+
}
116148
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy